diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-05 14:15:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-05 16:06:22 +0100 |
commit | d7acbc3402f81c0e97e6b1ba67fc3c031b660f0d (patch) | |
tree | 1e92e88c094bcdb744fbad2549631cea525fcb1e /src/libserver/html.h | |
parent | 37b9edfcf587e3d7986f08d83c623ab7950a31f6 (diff) | |
download | rspamd-d7acbc3402f81c0e97e6b1ba67fc3c031b660f0d.tar.gz rspamd-d7acbc3402f81c0e97e6b1ba67fc3c031b660f0d.zip |
[Fix] Fix parsing of background color
Diffstat (limited to 'src/libserver/html.h')
-rw-r--r-- | src/libserver/html.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/html.h b/src/libserver/html.h index 35af8f05c..218594191 100644 --- a/src/libserver/html.h +++ b/src/libserver/html.h @@ -28,6 +28,7 @@ enum html_component_type { RSPAMD_HTML_COMPONENT_NAME = 0, RSPAMD_HTML_COMPONENT_HREF, RSPAMD_HTML_COMPONENT_COLOR, + RSPAMD_HTML_COMPONENT_BGCOLOR, RSPAMD_HTML_COMPONENT_STYLE, RSPAMD_HTML_COMPONENT_CLASS, RSPAMD_HTML_COMPONENT_WIDTH, @@ -105,6 +106,7 @@ struct rspamd_task; struct html_content { GNode *html_tags; gint flags; + struct html_color bgcolor; guchar *tags_seen; GPtrArray *images; GPtrArray *blocks; |