Also accept 'cite' as a valid HTML tag.

This commit is contained in:
default 2023-05-24 14:58:42 +02:00
parent f8838c65aa
commit fdb35f3437
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ converted to related emojis:
.Ss Accepted HTML
All HTML tags in entries are neutered except the following ones:
.Bd -literal
a p br blockquote ul li
a p br blockquote ul li cite
span i b u pre code em strong
.Ed
.Pp

View file

@ -185,7 +185,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach)
const char *valid_tags[] = {
"a", "p", "br", "br/", "blockquote", "ul", "li",
"a", "p", "br", "br/", "blockquote", "ul", "li", "cite",
"span", "i", "b", "u", "pre", "code", "em", "strong", NULL
};