summaryrefslogtreecommitdiff
path: root/xs_html.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-11-26 16:46:25 +0100
committerdefault <nobody@localhost>2023-11-26 16:46:25 +0100
commit6be3b068233bca4a6028c455a33316f89eb79917 (patch)
treef49f354d4c29fff0ec3cf8ff8a5dbcb69464b407 /xs_html.h
parent63dbb5dcf993832be3d5ece8e003c1c4d985377a (diff)
Backport from xs.
Diffstat (limited to 'xs_html.h')
-rw-r--r--xs_html.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_html.h b/xs_html.h
index 254ba20..e9e251e 100644
--- a/xs_html.h
+++ b/xs_html.h
@@ -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, ">");