summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-28 18:12:55 +0200
committerdefault <nobody@localhost>2022-10-28 18:13:00 +0200
commita68f068e7144794f015108e42c101b892db360dd (patch)
treedb3a79af48bdc065459250c3239f076ff9930175 /format.c
parentedbf7c89095ba8bbdf5e817cae3f8d1ea19868fb (diff)
Also add br+slash as a valid HTML tag.
Diffstat (limited to 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
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)