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 84c634d..7c65a72 100644
--- a/format.c
+++ b/format.c
@@ -444,10 +444,12 @@ xs_str *not_really_markdown(const char *content, xs_list **attach, xs_list **tag
444 444
445 445
446const char * const valid_tags[] = { 446const char * const valid_tags[] = {
447 "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small", 447 // TODO: Don't hardcode br/
448 "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi", 448 "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small",
449 "h2","h3", //anzu 449 "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi",
450 NULL 450 "h2","h3", //anzu
451 "ruby", "rt", "rp",
452 NULL
451}; 453};
452 454
453xs_str *sanitize(const char *content) 455xs_str *sanitize(const char *content)