summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-07-21 12:42:18 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-07-21 12:42:18 (GMT)
commit032d8fd0cd8bd33448186081c54168889e25d55e (patch)
tree45ab5572385b8dcbf641fe47c5e014ef9fcc9627 /src/docparser.cpp
parent3e310e8d977ab9a3341c6d40336337f530ed9e4c (diff)
downloadDoxygen-032d8fd0cd8bd33448186081c54168889e25d55e.zip
Doxygen-032d8fd0cd8bd33448186081c54168889e25d55e.tar.gz
Doxygen-032d8fd0cd8bd33448186081c54168889e25d55e.tar.bz2
Bug 779407 - plantuml:an unwanted newline is generated after @startuml
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 205e818..0cb4ea3 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -5635,7 +5635,8 @@ int DocPara::handleCommand(const QCString &cmdName)
defaultHandleTitleAndSize(CMD_STARTUML,dv,dv->children(),width,height);
doctokenizerYYsetStatePlantUML();
retval = doctokenizerYYlex();
- dv->setText(g_token->verb);
+ int line=0;
+ dv->setText(stripLeadingAndTrailingEmptyLines(g_token->verb,line));
dv->setWidth(width);
dv->setHeight(height);
if (jarPath.isEmpty())