1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-05 15:05:48 +02:00

Add br tags for HTML documentation rendering missed in def7d513.

This commit is contained in:
David Steele 2021-10-19 09:06:06 -04:00
parent 4c2d89eb66
commit e443e3c6c0
2 changed files with 29 additions and 0 deletions

View File

@ -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 : '<No PgBackRest Settings>'});

View File

@ -146,6 +146,24 @@
</release-item>
</release-development-list>
</release-core-list>
<release-doc-list>
<release-development-list>
<release-item>
<commit subject="Eliminate linefeed formatting from documentation."/>
<commit subject="Update contributing.xml with rendering changes from def7d513."/>
<commit subject="Add missing paragraph tag in user guide."/>
<commit subject="Add br tags for HTML documentation rendering missed in def7d513."/>
<release-item-contributor-list>
<release-item-contributor id="david.steele"/>
<release-item-reviewer id="reid.thompson"/>
</release-item-contributor-list>
<p>Eliminate linefeed formatting from documentation.</p>
</release-item>
</release-development-list>
</release-doc-list>
</release>
<release date="2021-08-23" version="2.35" title="Binary Protocol">
@ -10368,6 +10386,11 @@
<contributor-id type="github">Isaacwhyuenac</contributor-id>
</contributor>
<contributor id="reid.thompson">
<contributor-name-display>Reid Thompson</contributor-name-display>
<contributor-id type="github">jreidthompson</contributor-id>
</contributor>
<contributor id="james.badger">
<contributor-name-display>James Badger</contributor-name-display>
<contributor-id type="github">openfirmware</contributor-id>