diff options
| author | 2023-12-16 16:38:31 +0100 | |
|---|---|---|
| committer | 2023-12-16 16:38:31 +0100 | |
| commit | 7ebe4a13a10afd17971a59375479bae5726ffd7f (patch) | |
| tree | 3ab9f9cba99bd87c0a1b3c988a5ae251c704562d /html.c | |
| parent | Added more code to discard Delete messages earlier. (diff) | |
| download | snac2-7ebe4a13a10afd17971a59375479bae5726ffd7f.tar.gz snac2-7ebe4a13a10afd17971a59375479bae5726ffd7f.tar.xz snac2-7ebe4a13a10afd17971a59375479bae5726ffd7f.zip | |
CSS code must be emitted as preformatted and not escaped.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||