1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-13 01:00:23 +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>'});