BUG: Fix man-page preformatted text paragraphing
Man page preformatted text needs an extra newline after the ending marker to create a paragraph break. This bug was introduced by the patch from issue #7797 to place explicit ".nf" and ".fi" markers around preformatted blocks.
This commit is contained in:
parent
2123b432d9
commit
62702551db
|
@ -71,7 +71,7 @@ void cmDocumentationFormatterMan::PrintPreformatted(std::ostream& os,
|
|||
os << ".nf\n" << man_text;
|
||||
if (*text && man_text.at(man_text.length()-1) != '\n')
|
||||
os << "\n";
|
||||
os << ".fi\n";
|
||||
os << ".fi\n\n";
|
||||
}
|
||||
|
||||
void cmDocumentationFormatterMan::PrintParagraph(std::ostream& os,
|
||||
|
|
Loading…
Reference in New Issue