Also accept HTML tag <ol>.

This commit is contained in:
default 2023-06-13 18:57:43 +02:00
parent 38986cefc3
commit 5654960161
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 cite
a p br blockquote ul ol li cite
span i b u pre code em strong
.Ed
.Pp

View File

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