diff --git a/doc/lib/pgBackRestDoc/Html/DocHtmlPage.pm b/doc/lib/pgBackRestDoc/Html/DocHtmlPage.pm index 2cbf5dcee..c6407d0bc 100644 --- a/doc/lib/pgBackRestDoc/Html/DocHtmlPage.pm +++ b/doc/lib/pgBackRestDoc/Html/DocHtmlPage.pm @@ -624,6 +624,9 @@ sub backrestConfigProcess # addNew(HTML_DIV, "config-body-title", # {strContent => "${strFile}:"}); + # Convert linefeeds to br tags + $strConfig =~ s/\n/<\/br>/g; + $oConfigBodyElement-> addNew(HTML_DIV, "config-body-output", {strContent => $strConfig}); @@ -681,6 +684,9 @@ sub postgresConfigProcess # addNew(HTML_DIV, "config-body-title", # {strContent => "append to ${strFile}:"}); + # Convert linefeeds to br tags + $strConfig =~ s/\n/<\/br>/g; + $oConfigBodyElement-> addNew(HTML_DIV, "config-body-output", {strContent => defined($strConfig) ? $strConfig : ''}); diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 4cb2bb52b..646cb4b2f 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -146,6 +146,24 @@ + + + + + + + + + + + + + + + Eliminate linefeed formatting from documentation. + + + @@ -10368,6 +10386,11 @@ Isaacwhyuenac + + Reid Thompson + jreidthompson + + James Badger openfirmware
Eliminate linefeed formatting from documentation.