commit a68f068e7144794f015108e42c101b892db360dd
parent edbf7c89095ba8bbdf5e817cae3f8d1ea19868fb
Author: default <nobody@localhost>
Date: Fri, 28 Oct 2022 18:12:55 +0200
Also add br+slash as a valid HTML tag.
Diffstat:
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", "img", "blockquote", "ul", "li", "span", NULL
+ "a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", NULL
};
d_char *sanitize(d_char *content)