summaryrefslogtreecommitdiff
path: root/Source/Doxygen
diff options
context:
space:
mode:
authorJohn McFarland <mcfarljm@gmail.com>2019-05-27 13:04:15 -0500
committerJohn McFarland <mcfarljm@gmail.com>2019-05-27 13:06:32 -0500
commit347656566510344f4eb8a772d83afd17699d5f60 (patch)
tree0f074e52fae86ebf87adbcff84e5e03447cfd2c0 /Source/Doxygen
parent08ac56b7f26b21b33426ca482c017f3a6f654855 (diff)
downloadswig-347656566510344f4eb8a772d83afd17699d5f60.tar.gz
Remove extra newline before code block in doxygen python output
Remove a newline character that was added to the translated comments prior to the code block. This way the structure of the pydoc output more closely resembles that of the original doxygen comments. Updating tests accordingly.
Diffstat (limited to 'Source/Doxygen')
-rw-r--r--Source/Doxygen/pydoc.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Doxygen/pydoc.cxx b/Source/Doxygen/pydoc.cxx
index fc210f106..f40541b00 100644
--- a/Source/Doxygen/pydoc.cxx
+++ b/Source/Doxygen/pydoc.cxx
@@ -496,7 +496,6 @@ void PyDocConverter::handleCode(DoxygenEntity &tag, std::string &translatedComme
IndentGuard indent(translatedComment, m_indent);
trimWhitespace(translatedComment);
- translatedComment += '\n';
// Use the current indent for the code-block line itself.
translatedComment += indent.getFirstLineIndent();