summaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 706340b6..8a90751e 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -753,7 +753,8 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props,
}
if (imgUrl && prefs.load_background_images &&
- !stack->getRef (i)->displayNone)
+ !stack->getRef (i)->displayNone &&
+ !(URL_FLAGS(pageUrl) & URL_SpamSafe))
{
attrs->backgroundImage = StyleImage::create();
DilloImage *image =