When sanitize() is called, encode_html() is no longer needed.

This commit is contained in:
default 2023-07-11 20:28:24 +02:00
parent 28a91ab732
commit 158b360181

3
html.c
View file

@ -1410,8 +1410,7 @@ d_char *html_people_list(snac *snac, d_char *os, d_char *list, const char *heade
if (xs_startswith(sc, "<p>"))
s = xs_str_cat(s, sc);
else {
xs *es1 = encode_html(sc);
xs *s1 = xs_fmt("<p>%s</p>", es1);
xs *s1 = xs_fmt("<p>%s</p>", sc);
s = xs_str_cat(s, s1);
}