You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-27 00:21:08 +02:00
A number of doc improvements:
1) Started on a general markdown renderer 2) Internal links now work in PDF 3) Improvements to PDF styling 4) Some comment and formatting fixes 5) User guide edits.
This commit is contained in:
.gitignoreCHANGELOG.md
doc
lib/BackRest
test/vm
@ -628,14 +628,29 @@ sub processTag
|
||||
{
|
||||
if (!defined($strUrl))
|
||||
{
|
||||
$strUrl = $oTag->paramGet('page');
|
||||
$strUrl = $oTag->paramGet('page', false);
|
||||
|
||||
if (!defined($strUrl))
|
||||
{
|
||||
$strUrl = '#' . substr($oTag->paramGet('section'), 1);
|
||||
}
|
||||
}
|
||||
|
||||
$strBuffer = '<a href="' . $strUrl . '">' . $oTag->valueGet() . '</a>';
|
||||
}
|
||||
elsif ($strType eq 'latex')
|
||||
{
|
||||
$strBuffer = $oTag->valueGet();
|
||||
if (!defined($strUrl))
|
||||
{
|
||||
$strUrl = $oTag->paramGet('page', false);
|
||||
|
||||
if (!defined($strUrl))
|
||||
{
|
||||
$strUrl = $oTag->paramGet('section');
|
||||
}
|
||||
}
|
||||
|
||||
$strBuffer = "\\hyperref[$strUrl]{" . $oTag->valueGet() . "}";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user