summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/format.c b/format.c
index 9bad391..2b4bb30 100644
--- a/format.c
+++ b/format.c
@@ -420,10 +420,12 @@ xs_str *not_really_markdown(const char *content, xs_list **attach, xs_list **tag
420 420
421 421
422const char *valid_tags[] = { 422const char *valid_tags[] = {
423 "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small", 423 // TODO: Don't hardcode br/
424 "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi", 424 "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small",
425 "h2","h3", //anzu 425 "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi",
426 NULL 426 "h2","h3", //anzu
427 "ruby", "rt", "rp",
428 NULL
427}; 429};
428 430
429xs_str *sanitize(const char *content) 431xs_str *sanitize(const char *content)