summaryrefslogtreecommitdiffstats
path: root/src/libserver/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/html')
-rw-r--r--src/libserver/html/html.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx
index 1e5d52241..cfd7876b6 100644
--- a/src/libserver/html/html.cxx
+++ b/src/libserver/html/html.cxx
@@ -1162,7 +1162,7 @@ html_append_tag_content(rspamd_mempool_t *pool,
return ret;
}
- else if (tag->id == Tag_HEAD && (tag->flags & FL_IGNORE)) {
+ else if (tag->id == Tag_HEAD || (tag->flags & CM_HEAD)) {
auto ret = tag->closing.end;
calculate_final_tag_offsets();