summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-28 18:06:42 +0200
committerdefault <nobody@localhost>2022-10-28 18:06:42 +0200
commit5ee9504b1801f106f152ef9d60620ad88454d390 (patch)
tree8974400798b1a30c2b07cdebb6f6b8d4c7d8ccc1 /html.c
parent2b590cd90ddbce6b23e2ea35a8b624c90991ceb2 (diff)
Be more aggressive in HTML sanitization.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 7fd1294..43638d5 100644
--- a/html.c
+++ b/html.c
@@ -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");