Permalink
Browse files

Bug 726722 - Blockquote followed by text inserts an extra paragraph

Remove superfluous \n from intermediate output.
  • Loading branch information...
albert-github committed Mar 19, 2014
1 parent 683ef76 commit 518fccbbadba3136a29c895f3606f40fa220fe47
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/markdown.cpp
View
@@ -1770,7 +1770,7 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size)
{
for (l=level;l<curLevel;l++)
{
out.addStr("\n</blockquote>\n");
out.addStr("</blockquote>\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<curLevel;l++)
{
out.addStr("\n</blockquote>\n");
out.addStr("</blockquote>\n");
}
return i;
}

0 comments on commit 518fccb

Please sign in to comment.