commit 7ebe4a1
default
·
2023-12-16 15:38:31 +0000 UTC
parent 5736f38
CSS code must be emitted as preformatted and not escaped.
1 files changed,
+2,
-2
M
html.c
M
html.c
+2,
-2
1@@ -431,7 +431,7 @@ xs_html *html_instance_head(void)
2
3 xs_html_add(head,
4 xs_html_tag("style",
5- xs_html_text(css)));
6+ xs_html_raw(css)));
7 }
8 }
9
10@@ -535,7 +535,7 @@ xs_html *html_user_head(snac *user)
11 if (css != NULL) {
12 xs_html_add(head,
13 xs_html_tag("style",
14- xs_html_text(css)));
15+ xs_html_raw(css)));
16 }
17 }
18