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