Accepted for HTML tags.

This commit is contained in:
default 2022-10-30 06:01:46 +01:00
parent 9612289477
commit 00d683fa04

View file

@ -153,7 +153,8 @@ d_char *not_really_markdown(char *content, d_char **f_content)
const char *valid_tags[] = { const char *valid_tags[] = {
"a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", "i", "b", "pre", "code", NULL "a", "p", "br", "br/", "img", "blockquote", "ul", "li",
"span", "i", "b", "pre", "code", "em", "strong", NULL
}; };
d_char *sanitize(d_char *content) d_char *sanitize(d_char *content)