aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-17 16:59:38 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-17 16:59:38 +0100
commit114ce5de1695082bf1840abd709f40a1010974e4 (patch)
tree71fc53b73ec5a97ec872970fbda97be5dad43b32 /src/styleengine.cc
parent679090b3c7776ee024edce97800c51bd3e59ead2 (diff)
add parse_embedded_css option
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index fd160f29..4e234a3c 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -405,7 +405,7 @@ Style * StyleEngine::style0 (CssPropertyList *nonCssProperties) {
stack->getRef (stack->size () - 2)->style->backgroundColor;
// parse style information from style="" attribute, if it exists
- if (styleAttribute)
+ if (styleAttribute && prefs.parse_embedded_css)
styleAttributeProps =
a_Css_parse_declaration (styleAttribute, strlen (styleAttribute));