diff --git a/Source/cmDocumentationFormatterHTML.cxx b/Source/cmDocumentationFormatterHTML.cxx
index 09aff8d2b..6ced1e4d0 100644
--- a/Source/cmDocumentationFormatterHTML.cxx
+++ b/Source/cmDocumentationFormatterHTML.cxx
@@ -39,7 +39,7 @@ static void cmDocumentationPrintHTMLChar(std::ostream& os, char c)
os << "&";
break;
case '\n':
- os << "
";
+ os << "
";
break;
default:
os << c;
@@ -125,23 +125,33 @@ void cmDocumentationFormatterHTML
{
if (name)
{
- os << "
";
- this->PrintHTMLEscapes(os, op->Name.c_str());
- os << "
";
+ this->PrintHTMLEscapes(os, op->Name.c_str());
+ os << "
"; this->PrintHTMLEscapes(os, text); + os << "
\n"; } //---------------------------------------------------------------------------- @@ -201,7 +212,12 @@ void cmDocumentationFormatterHTML::PrintHeader(const char* docname, const char* appname, std::ostream& os) { - os << "