]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Temporary workaround (should be fixed properly at some point)
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Jan 2021 14:58:05 +0000 (14:58 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Jan 2021 14:58:51 +0000 (14:58 +0000)
src/libserver/html.c

index d907995acb40745b81c66709de63f541b06fbc87..0dd6eb5cd8c5991b48b5132d6d964166714a243c 100644 (file)
@@ -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);