1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +02:00

Add br tag for documentation.

This tag allows for a simple linefeed in a p tag instead of being forced to start a new paragraph.
This commit is contained in:
David Steele
2022-05-11 10:39:31 -04:00
parent 8ee85bc605
commit 5fbea6da81
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,7 @@ my $oRenderTag =
{
'markdown' =>
{
'br' => ['\n', ''],
'quote' => ['"', '"'],
'b' => ['**', '**'],
'i' => ['_', '_'],
@ -55,6 +56,7 @@ my $oRenderTag =
'text' =>
{
'br' => ['\n', ''],
'quote' => ['"', '"'],
'p' => ['', "\n\n"],
'b' => ['', ''],
@ -82,6 +84,7 @@ my $oRenderTag =
'latex' =>
{
'br' => ['\\\vspace{1em}', ''],
'quote' => ['``', '"'],
'p' => ["\n\\begin{sloppypar}", "\\end{sloppypar}\n"],
'b' => ['\textbf{', '}'],
@ -115,6 +118,7 @@ my $oRenderTag =
'html' =>
{
'br' => ['<br/>', ''],
'quote' => ['<q>', '</q>'],
'b' => ['<b>', '</b>'],
'i' => ['<i>', '</i>'],