summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-12-16 16:38:31 +0100
committerGravatar default2023-12-16 16:38:31 +0100
commit7ebe4a13a10afd17971a59375479bae5726ffd7f (patch)
tree3ab9f9cba99bd87c0a1b3c988a5ae251c704562d
parentAdded more code to discard Delete messages earlier. (diff)
downloadsnac2-7ebe4a13a10afd17971a59375479bae5726ffd7f.tar.gz
snac2-7ebe4a13a10afd17971a59375479bae5726ffd7f.tar.xz
snac2-7ebe4a13a10afd17971a59375479bae5726ffd7f.zip
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)
431 431
432 xs_html_add(head, 432 xs_html_add(head,
433 xs_html_tag("style", 433 xs_html_tag("style",
434 xs_html_text(css))); 434 xs_html_raw(css)));
435 } 435 }
436 } 436 }
437 437
@@ -535,7 +535,7 @@ xs_html *html_user_head(snac *user)
535 if (css != NULL) { 535 if (css != NULL) {
536 xs_html_add(head, 536 xs_html_add(head,
537 xs_html_tag("style", 537 xs_html_tag("style",
538 xs_html_text(css))); 538 xs_html_raw(css)));
539 } 539 }
540 } 540 }
541 541