Backport from xs.

This commit is contained in:
default 2023-11-26 16:46:25 +01:00
parent 63dbb5dcf9
commit 6be3b06823
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ xs_str *xs_html_render_s(xs_html *h, xs_str *s)
if (h->type == XS_HTML_SCTAG) {
/* self-closing tags should not have subtags */
s = xs_str_cat(s, "/>");
s = xs_str_cat(s, "/>\n");
}
else {
s = xs_str_cat(s, ">");

View file

@ -1 +1 @@
/* 2adde1fad4fabb223639e4002a7ff3ec8c1982d7 2023-11-22T13:05:51+01:00 */
/* 0e2c549f2ac6f4840649332097dc8471a3939cef 2023-11-26T16:44:32+01:00 */