From 7ebe4a13a10afd17971a59375479bae5726ffd7f Mon Sep 17 00:00:00 2001 From: default Date: Sat, 16 Dec 2023 16:38:31 +0100 Subject: [PATCH] CSS code must be emitted as preformatted and not escaped. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html.c b/html.c index 5f71dea..8cc016e 100644 --- a/html.c +++ b/html.c @@ -431,7 +431,7 @@ xs_html *html_instance_head(void) xs_html_add(head, xs_html_tag("style", - xs_html_text(css))); + xs_html_raw(css))); } } @@ -535,7 +535,7 @@ xs_html *html_user_head(snac *user) if (css != NULL) { xs_html_add(head, xs_html_tag("style", - xs_html_text(css))); + xs_html_raw(css))); } }