mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Also add code to the valid HTML tags.
This commit is contained in:
parent
9af260f781
commit
f767507896
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[] = {
|
||||
"a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", "i", "b", "pre", NULL
|
||||
"a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", "i", "b", "pre", "code", NULL
|
||||
};
|
||||
|
||||
d_char *sanitize(d_char *content)
|
||||
|
|
Loading…
Reference in a new issue