aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-08 15:56:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-08 15:56:29 +0100
commitfd24c961ae6ed53edc14e34991a8e5f603307596 (patch)
treee168ebbb9735fc5289aa7ff0161f657f0168470a /rules
parentd4dd679a8cba673e6d0beb2766380940325704ce (diff)
downloadrspamd-fd24c961ae6ed53edc14e34991a8e5f603307596.tar.gz
rspamd-fd24c961ae6ed53edc14e34991a8e5f603307596.zip
[Fix] Further fixes for white on white rule
Diffstat (limited to 'rules')
-rw-r--r--rules/html.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/html.lua b/rules/html.lua
index 2a807d07e..e1fdb6b73 100644
--- a/rules/html.lua
+++ b/rules/html.lua
@@ -175,7 +175,7 @@ rspamd_config.R_WHITE_ON_WHITE = {
local arg
for _,p in ipairs(tp) do -- iterate over text parts array using `ipairs`
- if p:is_html() then -- if the current part is html part
+ if p:is_html() and p:get_html() then -- if the current part is html part
normal_len = p:get_length()
local hc = p:get_html() -- we get HTML context