1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Fixed regression in section links introduced in v1.10.

This was introduced in an effort to make the html output XHTML 1.0 STRICT compliant because the standard does not allow / characters in anchors.

However, the / characters were changed to . in the anchors but not in the links.  For now revert the anchors to / so further though can be given to this issue.
This commit is contained in:
David Steele 2016-11-22 17:29:24 -05:00
parent c9b49b0d7e
commit dbd16d25b9
2 changed files with 5 additions and 1 deletions

View File

@ -229,7 +229,7 @@ sub sectionProcess
# Working variables # Working variables
$strAnchor = $strAnchor =
($oSection->paramTest(XML_SECTION_PARAM_ANCHOR, XML_SECTION_PARAM_ANCHOR_VALUE_NOINHERIT) ? '' : ($oSection->paramTest(XML_SECTION_PARAM_ANCHOR, XML_SECTION_PARAM_ANCHOR_VALUE_NOINHERIT) ? '' :
(defined($strAnchor) ? "${strAnchor}." : '')) . (defined($strAnchor) ? "${strAnchor}/" : '')) .
$oSection->paramGet('id'); $oSection->paramGet('id');
# Create the section toc element # Create the section toc element

View File

@ -139,6 +139,10 @@
<release-item> <release-item>
<p>Fixed and issue that suppressed exceptions in PDF builds.</p> <p>Fixed and issue that suppressed exceptions in PDF builds.</p>
</release-item> </release-item>
<release-item>
<p>Fixed regression in section links introduced in <id>v1.10</id>.</p>
</release-item>
</release-bug-list> </release-bug-list>
<release-feature-list> <release-feature-list>