Fix bug in doxygen python code block indent
If a certain doxygen comment style was used that included an additional space, then translated Python comment code block indent was not correct (it included the extra space). This doxygen comment style was not previously represented in the test cases; a new test case will be added in a subsequent commit.
This commit is contained in:
parent
08fc4a02b4
commit
98ae66b6fc
1 changed files with 1 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ void PyDocConverter::handleCode(DoxygenEntity &tag, std::string &translatedComme
|
|||
translatedComment += ".. code-block:: c++\n\n";
|
||||
|
||||
// For now on, use extra indent level for all the subsequent lines.
|
||||
codeIndent += m_indent;
|
||||
codeIndent = m_indent;
|
||||
|
||||
std::string code;
|
||||
handleTagVerbatim(tag, code, arg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue