mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Also accept HTML tag <ol>.
This commit is contained in:
parent
38986cefc3
commit
5654960161
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ converted to related emojis:
|
||||||
.Ss Accepted HTML
|
.Ss Accepted HTML
|
||||||
All HTML tags in entries are neutered except the following ones:
|
All HTML tags in entries are neutered except the following ones:
|
||||||
.Bd -literal
|
.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
|
span i b u pre code em strong
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
|
2
format.c
2
format.c
|
@ -186,7 +186,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach)
|
||||||
|
|
||||||
|
|
||||||
const char *valid_tags[] = {
|
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
|
"span", "i", "b", "u", "pre", "code", "em", "strong", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue