From dbd16d25b97ba2d2cd86bcfb35e1ca41a2323c33 Mon Sep 17 00:00:00 2001 From: David Steele Date: Tue, 22 Nov 2016 17:29:24 -0500 Subject: [PATCH] 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 @@

Fixed and issue that suppressed exceptions in PDF builds.

+ + +

Fixed regression in section links introduced in v1.10.

+