summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-02-18 14:43:05 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-02-18 14:43:05 (GMT)
commit8c565720187f27a325b6fa4e1f2fa8e92ae6615a (patch)
treee4c8c2ceb8bead4db41831e182c708a8e9bef225
parent597d113d52a25d5185c8fb1c1d3d3d7b8f1f4a90 (diff)
downloadDoxygen-8c565720187f27a325b6fa4e1f2fa8e92ae6615a.zip
Doxygen-8c565720187f27a325b6fa4e1f2fa8e92ae6615a.tar.gz
Doxygen-8c565720187f27a325b6fa4e1f2fa8e92ae6615a.tar.bz2
Disappearing words in RTF output after a list
When having the simple example: ``` First list - Item 1 1 Second list - Item 2 1 ``` in the RTF output the word `Second` disappears due to the fact that the is no space between a `\par` command and the word `Second`
-rw-r--r--src/rtfdocvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index 75ac400..e1a9e31 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -677,7 +677,7 @@ void RTFDocVisitor::visitPost(DocAutoList *)
if (!m_lastIsPara) m_t << "\\par";
m_t << "}" << endl;
m_lastIsPara=TRUE;
- if (!m_indentLevel) m_t << "\\par";
+ if (!m_indentLevel) m_t << "\\par" << endl;
}
void RTFDocVisitor::visitPre(DocAutoListItem *)