You've already forked pgbackrest
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:
@ -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>'});
|
||||
|
Reference in New Issue
Block a user