Merge pull request 'format.c: add <bdi>' (#86) from Yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/86
This commit is contained in:
grunfink 2023-12-15 08:33:53 +00:00
commit 35f68ae7dd

View file

@ -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)