diff options
| author | 2023-11-22 13:07:19 +0100 | |
|---|---|---|
| committer | 2023-11-22 13:07:19 +0100 | |
| commit | 258850feac51cab378461331f820d584dfa6d948 (patch) | |
| tree | 6c5c12ebfdadd7e464136de2052026501900acec /html.c | |
| parent | Some xs_html usage in html_notifications(). (diff) | |
| download | snac2-258850feac51cab378461331f820d584dfa6d948.tar.gz snac2-258850feac51cab378461331f820d584dfa6d948.tar.xz snac2-258850feac51cab378461331f820d584dfa6d948.zip | |
Backport from xs.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2270,7 +2270,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, | |||
| 2270 | xs_html_text(content)))); | 2270 | xs_html_text(content)))); |
| 2271 | } | 2271 | } |
| 2272 | 2272 | ||
| 2273 | *body = _xs_html_render(rss, xs_dup("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")); | 2273 | *body = xs_html_render_s(rss, xs_dup("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")); |
| 2274 | *b_size = strlen(*body); | 2274 | *b_size = strlen(*body); |
| 2275 | *ctype = "application/rss+xml; charset=utf-8"; | 2275 | *ctype = "application/rss+xml; charset=utf-8"; |
| 2276 | status = 200; | 2276 | status = 200; |