aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-09-24 12:52:46 +0200
committerSebastian Geerken <devnull@localhost>2014-09-24 12:52:46 +0200
commitb472fe79479ab5edc7a3d3397313a3c5e38c0440 (patch)
treef9e0361a8f7807ffc37bcdbf6b9062ead735ce0e /src/styleengine.cc
parent346143676c0abcb93d2d00c8fc345f471145086a (diff)
parent8e186583e3994242d3c3a9ac107da5028e66f656 (diff)
Merge with main repo.
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 =