summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorGravatar default2022-10-28 18:12:55 +0200
committerGravatar default2022-10-28 18:13:00 +0200
commita68f068e7144794f015108e42c101b892db360dd (patch)
treedb3a79af48bdc065459250c3239f076ff9930175 /format.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-a68f068e7144794f015108e42c101b892db360dd.tar.gz
snac2-a68f068e7144794f015108e42c101b892db360dd.tar.xz
snac2-a68f068e7144794f015108e42c101b892db360dd.zip
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)
153 153
154 154
155const char *valid_tags[] = { 155const char *valid_tags[] = {
156 "a", "p", "br", "img", "blockquote", "ul", "li", "span", NULL 156 "a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", NULL
157}; 157};
158 158
159d_char *sanitize(d_char *content) 159d_char *sanitize(d_char *content)