Commit 7b54d8c5 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #143 from albert-github/feature/bug_726722

Bug 726722 - Blockquote followed by text inserts an extra paragraph
parents d2ec9b11 518fccbb
...@@ -1770,7 +1770,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size) ...@@ -1770,7 +1770,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size)
{ {
for (l=level;l<curLevel;l++) for (l=level;l<curLevel;l++)
{ {
out.addStr("\n</blockquote>\n"); out.addStr("</blockquote>\n");
} }
} }
curLevel=level; curLevel=level;
...@@ -1783,7 +1783,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size) ...@@ -1783,7 +1783,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size)
// end of comment within blockquote => add end markers // end of comment within blockquote => add end markers
for (l=0;l<curLevel;l++) for (l=0;l<curLevel;l++)
{ {
out.addStr("\n</blockquote>\n"); out.addStr("</blockquote>\n");
} }
return i; return i;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment