snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit f767507896cce7c9beeb6b3505bd841e092e9e20
parent 9af260f781adc5825eafa040525a3b644d13c835
Author: default <nobody@localhost>
Date:   Fri, 28 Oct 2022 22:01:33 +0200

Also add code to the valid HTML tags.

Diffstat:
Mformat.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/format.c b/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)