diff options
| author | 2023-11-26 16:46:25 +0100 | |
|---|---|---|
| committer | 2023-11-26 16:46:25 +0100 | |
| commit | 6be3b068233bca4a6028c455a33316f89eb79917 (patch) | |
| tree | f49f354d4c29fff0ec3cf8ff8a5dbcb69464b407 | |
| parent | More xs_html tweaks. (diff) | |
| download | penes-snac2-6be3b068233bca4a6028c455a33316f89eb79917.tar.gz penes-snac2-6be3b068233bca4a6028c455a33316f89eb79917.tar.xz penes-snac2-6be3b068233bca4a6028c455a33316f89eb79917.zip | |
Backport from xs.
| -rw-r--r-- | xs_html.h | 2 | ||||
| -rw-r--r-- | xs_version.h | 2 |
2 files changed, 2 insertions, 2 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, ">"); |
diff --git a/xs_version.h b/xs_version.h index 3aac89b..b9ac423 100644 --- a/xs_version.h +++ b/xs_version.h | |||
| @@ -1 +1 @@ | |||
| /* 2adde1fad4fabb223639e4002a7ff3ec8c1982d7 2023-11-22T13:05:51+01:00 */ | /* 0e2c549f2ac6f4840649332097dc8471a3939cef 2023-11-26T16:44:32+01:00 */ | ||