From a6da1fdb64f927943c39f664ff6a982a1f082b06 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 29 Nov 2023 09:49:48 +0100 Subject: [PATCH] History in html_timeline() uses xs_html. --- html.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/html.c b/html.c index 3023fa0..4768699 100644 --- a/html.c +++ b/html.c @@ -2124,28 +2124,32 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local, s = xs_str_cat(s, "\n"); } else { - xs *s1 = xs_fmt( - "
\n" - "

%s

\n"); + xs *s1 = xs_html_render(history); + s = xs_str_cat(s, s1); } }