aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r--src/libserver/html.c2
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;
}