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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index d907995ac..0dd6eb5cd 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -3200,7 +3200,8 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool,
save_space = FALSE;
}
- if (cur_tag->flags & FL_HREF && !(cur_tag->flags & FL_IGNORE)) {
+ /* XXX: uncomment when styles parsing is not so broken */
+ if (cur_tag->flags & FL_HREF /* && !(cur_tag->flags & FL_IGNORE) */) {
if (!(cur_tag->flags & (FL_CLOSING))) {
url = rspamd_html_process_url_tag (pool, cur_tag, hc);