summaryrefslogtreecommitdiff
path: root/xs_html.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-11-27 11:46:24 +0100
committerdefault <nobody@localhost>2023-11-27 11:46:24 +0100
commit72acd8fd7d28e117b3eafa5e097d758a02c76485 (patch)
tree5980fe87080207b4339c3cf7c925d2492e99748b /xs_html.h
parentcac8eba5203055178a92511b386f57349bcca506 (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 16ee5ec..bc40267 100644
--- a/xs_html.h
+++ b/xs_html.h
@@ -209,7 +209,7 @@ void xs_html_render_f(xs_html *h, FILE *f)
if (h->type == XS_HTML_SCTAG) {
/* self-closing tags should not have subtags */
- fprintf(f, "/>");
+ fprintf(f, "/>\n");
}
else {
fprintf(f, ">");