mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
CSS code must be emitted as preformatted and not escaped.
This commit is contained in:
parent
5736f38968
commit
7ebe4a13a1
1 changed files with 2 additions and 2 deletions
4
html.c
4
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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue