diff options
author | default <nobody@localhost> | 2022-10-28 18:06:42 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-28 18:06:42 +0200 |
commit | 5ee9504b1801f106f152ef9d60620ad88454d390 (patch) | |
tree | 8974400798b1a30c2b07cdebb6f6b8d4c7d8ccc1 /html.c | |
parent | 2b590cd90ddbce6b23e2ea35a8b624c90991ceb2 (diff) |
Be more aggressive in HTML sanitization.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -600,8 +600,9 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i } } + xs *sc = sanitize(c); - s = xs_str_cat(s, c); + s = xs_str_cat(s, sc); } s = xs_str_cat(s, "\n"); |