瀏覽代碼

More not_really_markdown() tweaks.

default 3 年之前
父節點
當前提交
9ab8016f6c
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 */