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 2f30a0d..163a6a2 100644
--- a/format.c
+++ b/format.c
@@ -419,10 +419,12 @@ xs_str *not_really_markdown(const char *content, xs_list **attach, xs_list **tag
419 419
420 420
421const char *valid_tags[] = { 421const char *valid_tags[] = {
422 "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small", 422 // TODO: Don't hardcode br/
423 "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi", 423 "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small",
424 "h2","h3", //anzu 424 "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", "bdi",
425 NULL 425 "h2","h3", //anzu
426 "ruby", "rt", "rp",
427 NULL
426}; 428};
427 429
428xs_str *sanitize(const char *content) 430xs_str *sanitize(const char *content)