From 4d1951ebb648bbc92464904305cafc7fc0dba557 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Thu, 6 Feb 2014 21:25:32 +0100 Subject: [PATCH] Bug 723299 - Last line of code block lost if it is only one character and there is no text afterward --- src/markdown.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/markdown.cpp b/src/markdown.cpp index 6c7c349510e..7db955fe225 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -1725,7 +1725,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size) { // find end of this line end=i+1; - while (end0 && data[end-1]=='`') { int enb=0; - while (end