commit a5c740f

Yonle  ·  2023-12-15 05:01:20 +0000 UTC
parent 888a79e
format.c: add <bdi>

Signed-off-by: Yonle <yonle@lecturify.net>
1 files changed,  +1, -1
+1, -1
1@@ -204,7 +204,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach)
2 
3 const char *valid_tags[] = {
4     "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small",
5-    "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", NULL
6+    "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi", NULL
7 };
8 
9 xs_str *sanitize(const char *content)