From ea9f3b1d727b22973c0176b2564304fb160aa70b Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 2 May 2014 19:37:59 +0200 Subject: [PATCH] Missing word after \n command in Doxygen rtf output, version 1.8.5 & up After a \par command no space or new line was present resulting in the joining of the \par with the first word after the \n. Inserting an newline solves this problem --- src/rtfdocvisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 67faf98e67c..b90b5a82daf 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -168,7 +168,7 @@ void RTFDocVisitor::visit(DocLineBreak *) { if (m_hide) return; DBG_RTF("{\\comment RTFDocVisitor::visit(DocLineBreak)}\n"); - m_t << "\\par"; + m_t << "\\par" << endl; m_lastIsPara=TRUE; }