diff options
| author | 2023-11-26 16:46:25 +0100 | |
|---|---|---|
| committer | 2023-11-26 16:46:25 +0100 | |
| commit | 6be3b068233bca4a6028c455a33316f89eb79917 (patch) | |
| tree | f49f354d4c29fff0ec3cf8ff8a5dbcb69464b407 /xs_html.h | |
| parent | More xs_html tweaks. (diff) | |
| download | penes-snac2-6be3b068233bca4a6028c455a33316f89eb79917.tar.gz penes-snac2-6be3b068233bca4a6028c455a33316f89eb79917.tar.xz penes-snac2-6be3b068233bca4a6028c455a33316f89eb79917.zip | |
Backport from xs.
Diffstat (limited to 'xs_html.h')
| -rw-r--r-- | xs_html.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -207,7 +207,7 @@ xs_str *xs_html_render_s(xs_html *h, xs_str *s) | |||
| 207 | 207 | ||
| 208 | if (h->type == XS_HTML_SCTAG) { | 208 | if (h->type == XS_HTML_SCTAG) { |
| 209 | /* self-closing tags should not have subtags */ | 209 | /* self-closing tags should not have subtags */ |
| 210 | s = xs_str_cat(s, "/>"); | 210 | s = xs_str_cat(s, "/>\n"); |
| 211 | } | 211 | } |
| 212 | else { | 212 | else { |
| 213 | s = xs_str_cat(s, ">"); | 213 | s = xs_str_cat(s, ">"); |