From 62702551dbf77632f566c92aa2c2555f23fe1557 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 6 Mar 2009 10:01:14 -0500 Subject: 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. --- Source/cmDocumentationFormatterMan.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v0.12