diff options
author | default <nobody@localhost> | 2023-11-27 10:19:01 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-11-27 10:19:01 +0100 |
commit | 1663adbf565f57236617ab227431dd95132d6c9c (patch) | |
tree | aeb8272653d49342d45b0bd9c53ab667ec4cf21e /html.c | |
parent | 5a4de9cc8e80ed5a55cd2ec59dfc9b5eadf86700 (diff) |
Backport from xs.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2382,7 +2382,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, xs_html_text(content)))); } - *body = xs_html_render_s(rss, xs_dup("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")); + *body = xs_html_render_s(rss, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); *b_size = strlen(*body); *ctype = "application/rss+xml; charset=utf-8"; status = 200; |