diff --git a/html.c b/html.c index 8f2be75..13ba33f 100644 --- a/html.c +++ b/html.c @@ -1692,7 +1692,8 @@ xs_str *html_people_list(snac *snac, xs_str *os, xs_list *list, const char *head xs *s = xs_str_new(NULL); xs *es1 = encode_html(header); xs *h = xs_fmt("
")) - s = xs_str_cat(s, sc); - else { - xs *s1 = xs_fmt("
%s
", sc); + xs_html_add(snac_content, + xs_html_raw(sc)); /* already sanitized */ + else + xs_html_add(snac_content, + xs_html_tag("p", + xs_html_raw(sc))); /* already sanitized */ + + { + xs *s1 = xs_html_render(snac_content); s = xs_str_cat(s, s1); } - - s = xs_str_cat(s, "