summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-28 21:56:24 +0200
committerdefault <nobody@localhost>2022-10-28 21:56:24 +0200
commit9af260f781adc5825eafa040525a3b644d13c835 (patch)
treeda79f5390f91d7bbd05a1c42ea7bf642a33c0a8e /format.c
parent9de71755031fb27c891c2b841224d02572d9449e (diff)
Also add pre to the valid HTML tags.
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 fdbebdb..efebade 100644
--- a/format.c
+++ b/format.c
@@ -153,7 +153,7 @@ d_char *not_really_markdown(char *content, d_char **f_content)
const char *valid_tags[] = {
- "a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", "i", "b", NULL
+ "a", "p", "br", "br/", "img", "blockquote", "ul", "li", "span", "i", "b", "pre", NULL
};
d_char *sanitize(d_char *content)