From 518fccbbadba3136a29c895f3606f40fa220fe47 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 19 Mar 2014 17:38:05 +0100 Subject: Bug 726722 - Blockquote followed by text inserts an extra paragraph Remove superfluous \n from intermediate output. --- src/markdown.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/markdown.cpp b/src/markdown.cpp index 9605f31..e17b689 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -1770,7 +1770,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size) { for (l=level;l\n"); + out.addStr("\n"); } } curLevel=level; @@ -1783,7 +1783,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size) // end of comment within blockquote => add end markers for (l=0;l\n"); + out.addStr("\n"); } return i; } -- cgit v0.12