summaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index a5c43bf4..e07ab3d5 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -708,7 +708,9 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props,
}
}
- if (imgUrl && prefs.load_background_images && attrs->display != DISPLAY_NONE)
+ if (imgUrl && prefs.load_background_images &&
+ attrs->display != DISPLAY_NONE &&
+ !(URL_FLAGS(pageUrl) & URL_SpamSafe))
{
attrs->backgroundImage = StyleImage::create();
DilloImage *image =