From 72acd8fd7d28e117b3eafa5e097d758a02c76485 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 27 Nov 2023 11:46:24 +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 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, ">"); -- cgit