commit 6be3b06

default  ·  2023-11-26 15:46:25 +0000 UTC
parent 63dbb5d
Backport from xs.
2 files changed,  +2, -2
+1, -1
1@@ -207,7 +207,7 @@ xs_str *xs_html_render_s(xs_html *h, xs_str *s)
2 
3         if (h->type == XS_HTML_SCTAG) {
4             /* self-closing tags should not have subtags */
5-            s = xs_str_cat(s, "/>");
6+            s = xs_str_cat(s, "/>\n");
7         }
8         else {
9             s = xs_str_cat(s, ">");
+1, -1
1@@ -1 +1 @@
2-/* 2adde1fad4fabb223639e4002a7ff3ec8c1982d7 2023-11-22T13:05:51+01:00 */
3+/* 0e2c549f2ac6f4840649332097dc8471a3939cef 2023-11-26T16:44:32+01:00 */