commit fdb35f3
default
·
2023-05-24 12:58:42 +0000 UTC
parent f8838c6
Also accept 'cite' as a valid HTML tag.
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
6+a p br blockquote ul li cite
7 span i b u pre code em strong
8 .Ed
9 .Pp
M
format.c
+1,
-1
1@@ -185,7 +185,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",
6+ "a", "p", "br", "br/", "blockquote", "ul", "li", "cite",
7 "span", "i", "b", "u", "pre", "code", "em", "strong", NULL
8 };
9