diff options
author | default <nobody@localhost> | 2022-10-28 22:01:33 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-28 22:01:33 +0200 |
commit | f767507896cce7c9beeb6b3505bd841e092e9e20 (patch) | |
tree | 90a1d91a71bf39e9614857db5fe086e97c59663a /format.c | |
parent | 9af260f781adc5825eafa040525a3b644d13c835 (diff) |
Also add code to the valid HTML tags.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |