CSS code must be emitted as preformatted and not escaped.

This commit is contained in:
default 2023-12-16 16:38:31 +01:00
parent 5736f38968
commit 7ebe4a13a1

4
html.c
View File

@ -431,7 +431,7 @@ xs_html *html_instance_head(void)
xs_html_add(head, xs_html_add(head,
xs_html_tag("style", 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) { if (css != NULL) {
xs_html_add(head, xs_html_add(head,
xs_html_tag("style", xs_html_tag("style",
xs_html_text(css))); xs_html_raw(css)));
} }
} }