mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Also accept 'cite' as a valid HTML tag.
This commit is contained in:
parent
f8838c65aa
commit
fdb35f3437
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
2
format.c
2
format.c
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue