Browse Source

More not_really_markdown() tweaks.

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

+ 1 - 0
format.c

@@ -136,6 +136,7 @@ d_char *not_really_markdown(char *content, d_char **f_content)
 
     /* some beauty fixes */
     s = xs_replace_i(s, "</blockquote><br>", "</blockquote>");
+    s = xs_replace_i(s, "</pre><br>", "</pre>");
 
     {
         /* traditional emoticons */