Eliminate extra newlines around doxygen python block math

Eliminate extra leading and trailing newlines around the \f[ and \f{
block math commands for doxygen comment translation for python.
Update tests accordingly.
This commit is contained in:
John McFarland 2019-05-25 14:33:41 -05:00
commit 08fc4a02b4
2 changed files with 0 additions and 7 deletions

View file

@ -446,7 +446,6 @@ void PyDocConverter::handleMath(DoxygenEntity &tag, std::string &translatedComme
indent.Init(translatedComment, m_indent);
trimWhitespace(translatedComment);
translatedComment += '\n';
const string formulaIndent = indent.getFirstLineIndent();
translatedComment += formulaIndent;
@ -480,8 +479,6 @@ void PyDocConverter::handleMath(DoxygenEntity &tag, std::string &translatedComme
if (inlineFormula) {
translatedComment += "`";
} else {
translatedComment += '\n';
}
}