diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-01-20 14:58:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-01-20 14:58:51 +0000 |
commit | af7a086a06ba8339b0fa870c933586b294783bb0 (patch) | |
tree | e21323937c63e470a396ac73a3026ab6a3ceb142 /src/libserver/html.c | |
parent | 9908a4360a4433d02f45e4cd3f7e8bb380e77594 (diff) | |
download | rspamd-af7a086a06ba8339b0fa870c933586b294783bb0.tar.gz rspamd-af7a086a06ba8339b0fa870c933586b294783bb0.zip |
[Minor] Temporary workaround (should be fixed properly at some point)
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r-- | src/libserver/html.c | 3 |
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); |