summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-07-11 20:28:24 +0200
committerdefault <nobody@localhost>2023-07-11 20:28:24 +0200
commit158b360181e2006ba073fa9332ca8b27690f12dd (patch)
tree3525cfcd61e646788e24ff95fb6a9bf1c975f513 /html.c
parent28a91ab7328939870046b2d0d77ece37dfd63b32 (diff)
When sanitize() is called, encode_html() is no longer needed.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/html.c b/html.c
index f8201e3..df90df8 100644
--- a/html.c
+++ b/html.c
@@ -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);
}