Browse Source

[Minor] Fix one more issue

tags/3.1
Vsevolod Stakhov 2 years ago
parent
commit
52783f990b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libserver/html/html.cxx

+ 1
- 1
src/libserver/html/html.cxx View File

@@ -1162,7 +1162,7 @@ html_append_tag_content(rspamd_mempool_t *pool,

return ret;
}
else if (tag->id == Tag_HEAD || (tag->flags & CM_HEAD)) {
else if ((tag->id == Tag_HEAD && (tag->flags & FL_IGNORE)) || (tag->flags & CM_HEAD)) {
auto ret = tag->closing.end;
calculate_final_tag_offsets();


Loading…
Cancel
Save