aboutsummaryrefslogtreecommitdiffstats
path: root/rules/html.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rules/html.lua')
-rw-r--r--rules/html.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/html.lua b/rules/html.lua
index 416ea8c74..bab636322 100644
--- a/rules/html.lua
+++ b/rules/html.lua
@@ -39,7 +39,7 @@ local function check_html_image(task, min, max)
if parent then
if parent:get_type() == 'a' then
-- do not trigger on small and unknown size images
- if i['height'] + i['width'] >= 210 then
+ if i['height'] + i['width'] >= 210 or not i['embedded'] then
return true
end
end