commit 5654960
default
·
2023-06-13 16:57:43 +0000 UTC
parent 38986ce
Also accept HTML tag <ol>.
2 files changed,
+2,
-2
M
format.c
+1,
-1
1@@ -58,7 +58,7 @@ converted to related emojis:
2 .Ss Accepted HTML
3 All HTML tags in entries are neutered except the following ones:
4 .Bd -literal
5-a p br blockquote ul li cite
6+a p br blockquote ul ol li cite
7 span i b u pre code em strong
8 .Ed
9 .Pp
M
format.c
+1,
-1
1@@ -186,7 +186,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach)
2
3
4 const char *valid_tags[] = {
5- "a", "p", "br", "br/", "blockquote", "ul", "li", "cite",
6+ "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite",
7 "span", "i", "b", "u", "pre", "code", "em", "strong", NULL
8 };
9