Browse Source

Also add pre to the valid HTML tags.

default 2 years ago
parent
commit
9af260f781
1 changed files with 1 additions and 1 deletions
  1. 1 1
      format.c

+ 1 - 1
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)