mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
When sanitize() is called, encode_html() is no longer needed.
This commit is contained in:
parent
28a91ab732
commit
158b360181
1 changed files with 1 additions and 2 deletions
3
html.c
3
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>"))
|
if (xs_startswith(sc, "<p>"))
|
||||||
s = xs_str_cat(s, sc);
|
s = xs_str_cat(s, sc);
|
||||||
else {
|
else {
|
||||||
xs *es1 = encode_html(sc);
|
xs *s1 = xs_fmt("<p>%s</p>", sc);
|
||||||
xs *s1 = xs_fmt("<p>%s</p>", es1);
|
|
||||||
s = xs_str_cat(s, s1);
|
s = xs_str_cat(s, s1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue