snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 7ebe4a13a10afd17971a59375479bae5726ffd7f
parent 5736f38968e889ca5a0d6d828f47abe4f1f33193
Author: default <nobody@localhost>
Date:   Sat, 16 Dec 2023 16:38:31 +0100

CSS code must be emitted as preformatted and not escaped.

Diffstat:
Mhtml.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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))); } }