diff options
author | default <nobody@localhost> | 2023-07-11 20:28:24 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-07-11 20:28:24 +0200 |
commit | 158b360181e2006ba073fa9332ca8b27690f12dd (patch) | |
tree | 3525cfcd61e646788e24ff95fb6a9bf1c975f513 | |
parent | 28a91ab7328939870046b2d0d77ece37dfd63b32 (diff) |
When sanitize() is called, encode_html() is no longer needed.
-rw-r--r-- | html.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } |