summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-12-16 16:38:31 +0100
committerdefault <nobody@localhost>2023-12-16 16:38:31 +0100
commit7ebe4a13a10afd17971a59375479bae5726ffd7f (patch)
tree3ab9f9cba99bd87c0a1b3c988a5ae251c704562d
parent5736f38968e889ca5a0d6d828f47abe4f1f33193 (diff)
CSS code must be emitted as preformatted and not escaped.
-rw-r--r--html.c4
1 files 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)));
}
}