diff options
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, ">"); |