Browse Source

format.c: add <bdi>

Signed-off-by: Yonle <yonle@lecturify.net>
Yonle 1 year ago
parent
commit
a5c740f564
1 changed files with 1 additions and 1 deletions
  1. 1 1
      format.c

+ 1 - 1
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)