summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index c7a621a..d28164f 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -1674,6 +1674,10 @@ void DocCopy::parse()
g_styleStack.clear();
g_nodeStack.clear();
g_copyStack.append(def);
+ // make sure the descriptions end with a newline, so the parser will correctly
+ // handle them in all cases.
+ brief+='\n';
+ doc+='\n';
internalValidatingParseDoc(this,m_children,brief);
internalValidatingParseDoc(this,m_children,doc);
g_copyStack.remove(def);