mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 16:53:37 +00:00
Also accept s HTML tags.
This commit is contained in:
parent
8ebfa10547
commit
931b871eb1
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ converted to related emojis:
|
|||
All HTML tags in entries are neutered except the following ones:
|
||||
.Bd -literal
|
||||
a p br blockquote ul ol li cite small
|
||||
span i b u pre code em strong hr img del
|
||||
span i b u s pre code em strong hr img del
|
||||
.Ed
|
||||
.Pp
|
||||
.Ss Disk Layout
|
||||
|
|
2
format.c
2
format.c
|
@ -203,7 +203,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach)
|
|||
|
||||
const char *valid_tags[] = {
|
||||
"a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small",
|
||||
"span", "i", "b", "u", "pre", "code", "em", "strong", "hr", "img", "del", NULL
|
||||
"span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", NULL
|
||||
};
|
||||
|
||||
xs_str *sanitize(const char *content)
|
||||
|
|
Loading…
Reference in a new issue