From a68f068e7144794f015108e42c101b892db360dd Mon Sep 17 00:00:00 2001 From: default Date: Fri, 28 Oct 2022 18:12:55 +0200 Subject: [PATCH] Also add br+slash as a valid HTML tag. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.c b/format.c index 1c2a97a..b5c929d 100644 --- 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", "img", "blockquote", "ul", "li", "span", NULL + "a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", NULL }; d_char *sanitize(d_char *content)