pgbackrest.git / summary / log / commit / refs
commit dbd16d25b97ba2d2cd86bcfb35e1ca41a2323c33
Author: David Steele <david@pgmasters.net>
Date: Tue Nov 22 22:29:24 2016 +0000
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.
doc/lib/BackRestDoc/Html/DocHtmlPage.pm | 2 +-
doc/xml/release.xml | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/doc/lib/BackRestDoc/Html/DocHtmlPage.pm b/doc/lib/BackRestDoc/Html/DocHtmlPage.pm
index f360b303e..929c6be52 100644
--- a/doc/lib/BackRestDoc/Html/DocHtmlPage.pm
+++ b/doc/lib/BackRestDoc/Html/DocHtmlPage.pm
@@ -229,7 +229,7 @@ sub sectionProcess
# Working variables
$strAnchor =
($oSection->paramTest(XML_SECTION_PARAM_ANCHOR, XML_SECTION_PARAM_ANCHOR_VALUE_NOINHERIT) ? '' :
- (defined($strAnchor) ? "${strAnchor}." : '')) .
+ (defined($strAnchor) ? "${strAnchor}/" : '')) .
$oSection->paramGet('id');
# Create the section toc element
diff --git a/doc/xml/release.xml b/doc/xml/release.xml
index 66cbc659a..acdfcafca 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -139,6 +139,10 @@
<release-item>
<p>Fixed and issue that suppressed exceptions in PDF builds.</p>
</release-item>
+
+ <release-item>
+ <p>Fixed regression in section links introduced in <id>v1.10</id>.</p>
+ </release-item>
</release-bug-list>
<release-feature-list>
[parent: c9b49b0d7e1f]