From 6be3b068233bca4a6028c455a33316f89eb79917 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 26 Nov 2023 16:46:25 +0100 Subject: Backport from xs. --- xs_html.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs_html.h') 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, ">"); -- cgit v1.2.3