From: Vsevolod Stakhov Date: Wed, 20 Jan 2021 14:58:05 +0000 (+0000) Subject: [Minor] Temporary workaround (should be fixed properly at some point) X-Git-Tag: 3.0~757 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=af7a086a06ba8339b0fa870c933586b294783bb0;p=rspamd.git [Minor] Temporary workaround (should be fixed properly at some point) --- 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);