diff options
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 2 |
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)); |