diff options
author | Brad King <brad.king@kitware.com> | 2009-03-06 15:01:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-06 15:01:14 (GMT) |
commit | 62702551dbf77632f566c92aa2c2555f23fe1557 (patch) | |
tree | ed0229a43e494ff800b9dd6683942037e9445a53 /Source/cmDocumentationFormatterMan.cxx | |
parent | 2123b432d9806f8d3cebeeb897875f124f8c39c3 (diff) | |
download | CMake-62702551dbf77632f566c92aa2c2555f23fe1557.zip CMake-62702551dbf77632f566c92aa2c2555f23fe1557.tar.gz CMake-62702551dbf77632f566c92aa2c2555f23fe1557.tar.bz2 |
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.
Diffstat (limited to 'Source/cmDocumentationFormatterMan.cxx')
-rw-r--r-- | Source/cmDocumentationFormatterMan.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatterMan.cxx b/Source/cmDocumentationFormatterMan.cxx index 1b3d756..9f383b5 100644 --- a/Source/cmDocumentationFormatterMan.cxx +++ b/Source/cmDocumentationFormatterMan.cxx @@ -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, |