summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorYonle <yonle@lecturify.net>2023-12-15 12:01:20 +0700
committerYonle <yonle@lecturify.net>2023-12-15 12:01:20 +0700
commita5c740f564f10739174b6b93decae4cfdfc873ac (patch)
treee2dc5b067efa20e319ca95b1699eeaeca1ef8d75 /format.c
parent888a79e58a2de457558c41cc91cf7e8d5df78811 (diff)
format.c: add <bdi>
Signed-off-by: Yonle <yonle@lecturify.net>
Diffstat (limited to 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index 019260c..f47963e 100644
--- a/format.c
+++ b/format.c
@@ -204,7 +204,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", "s", "pre", "code", "em", "strong", "hr", "img", "del", NULL
+ "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi", NULL
};
xs_str *sanitize(const char *content)