diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-30 17:24:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-30 17:24:30 +0000 |
commit | 64df50450deffdc134671ecacb8e883f7c532eea (patch) | |
tree | d1a6299db9c1d02e057d0075ccfa529f75f15bca /src/libserver | |
parent | d787842e9e68e7cfa029667b9b04ed7c52c1e258 (diff) | |
download | rspamd-64df50450deffdc134671ecacb8e883f7c532eea.tar.gz rspamd-64df50450deffdc134671ecacb8e883f7c532eea.zip |
[Fix] HTML: Fix HTML comments with many dashes
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c index 9aaed5fb3..e00746c51 100644 --- a/src/libserver/html.c +++ b/src/libserver/html.c @@ -2673,7 +2673,7 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool, struct html_content *hc, if (t == '-') { ebrace ++; } - else if (t == '>' && ebrace == 2) { + else if (t == '>' && ebrace >= 2) { state = tag_end; continue; } |