summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-03-19 16:38:05 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-03-19 16:38:05 (GMT)
commit518fccbbadba3136a29c895f3606f40fa220fe47 (patch)
treef7c5f689ed8ddca23a050f6892083b93c02f06e7 /src/markdown.cpp
parent683ef76f7bf1ba929f9c263064bb5f6c8e377275 (diff)
downloadDoxygen-518fccbbadba3136a29c895f3606f40fa220fe47.zip
Doxygen-518fccbbadba3136a29c895f3606f40fa220fe47.tar.gz
Doxygen-518fccbbadba3136a29c895f3606f40fa220fe47.tar.bz2
Bug 726722 - Blockquote followed by text inserts an extra paragraph
Remove superfluous \n from intermediate output.
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp4
1 files 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<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;
}