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 b56f3ef32..8dc8a8dac 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -3137,7 +3137,8 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool,
if (allow_css) {
GError *err = NULL;
- (void)rspamd_css_parse_style (pool, p, end_style, &err);
+ hc->css_style = rspamd_css_parse_style (pool, p, end_style, hc->css_style,
+ &err);
if (err) {
msg_info_pool ("cannot parse css: %e", err);