mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-29 16:03:37 +00:00
Also add pre to the valid HTML tags.
This commit is contained in:
parent
9de7175503
commit
9af260f781
1 changed files with 1 additions and 1 deletions
2
format.c
2
format.c
|
@ -153,7 +153,7 @@ d_char *not_really_markdown(char *content, d_char **f_content)
|
||||||
|
|
||||||
|
|
||||||
const char *valid_tags[] = {
|
const char *valid_tags[] = {
|
||||||
"a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", "i", "b", NULL
|
"a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", "i", "b", "pre", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
d_char *sanitize(d_char *content)
|
d_char *sanitize(d_char *content)
|
||||||
|
|
Loading…
Reference in a new issue