From 931b871eb15a1533b2140b64356c397ce535bcce Mon Sep 17 00:00:00 2001 From: default Date: Sun, 17 Sep 2023 03:03:20 +0200 Subject: Also accept s HTML tags. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'format.c') diff --git a/format.c b/format.c index f42ccc3..7117e48 100644 --- a/format.c +++ b/format.c @@ -203,7 +203,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach) const char *valid_tags[] = { "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small", - "span", "i", "b", "u", "pre", "code", "em", "strong", "hr", "img", "del", NULL + "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", NULL }; xs_str *sanitize(const char *content) -- cgit v1.2.3