aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/html.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index 1188515c5..57a0dfa88 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -1074,6 +1074,8 @@ rspamd_html_parse_tag_content (rspamd_mempool_t *pool,
g_assert (comp != NULL);
comp->len = in - *savep;
comp->start = *savep;
+ comp->len = rspamd_html_decode_entitles_inplace ((gchar *)*savep,
+ comp->len);
*savep = NULL;
}
}
@@ -1091,6 +1093,8 @@ rspamd_html_parse_tag_content (rspamd_mempool_t *pool,
g_assert (comp != NULL);
comp->len = in - *savep;
comp->start = *savep;
+ comp->len = rspamd_html_decode_entitles_inplace ((gchar *)*savep,
+ comp->len);
*savep = NULL;
}
}
@@ -1111,6 +1115,8 @@ rspamd_html_parse_tag_content (rspamd_mempool_t *pool,
g_assert (comp != NULL);
comp->len = in - *savep;
comp->start = *savep;
+ comp->len = rspamd_html_decode_entitles_inplace ((gchar *)*savep,
+ comp->len);
*savep = NULL;
}
}