From ce8ad71af4b253dacc43ba8807a0c4f284eca104 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sat, 19 Aug 2023 11:11:48 +0100 Subject: [PATCH] Fix small bugs in calculating correct relative URIs in chunks --- properties.gradle | 4 ++-- src/guide/xml/changelog.xml | 16 +++++++++++++++- src/main/xslt/modules/chunk-cleanup.xsl | 16 +++++++++++++--- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/properties.gradle b/properties.gradle index 8c922c93c..7a9d7c76b 100644 --- a/properties.gradle +++ b/properties.gradle @@ -2,8 +2,8 @@ ext { xslTNGtitle = 'DocBook xslTNG' xslTNGbaseName = 'docbook-xslTNG' - xslTNGversion = '2.1.8' - guideVersion = '2.1.8' + xslTNGversion = '2.1.9' + guideVersion = '2.1.9' guidePrerelease = false docbookVersion = '5.2CR5' diff --git a/src/guide/xml/changelog.xml b/src/guide/xml/changelog.xml index a77eaf24f..6fdfa7940 100644 --- a/src/guide/xml/changelog.xml +++ b/src/guide/xml/changelog.xml @@ -10,6 +10,21 @@ be of interest to users of the stylesheets. See the commits and pull requests on the repository for finer detail. +
+ + Changes in version 2.1.9 + 2.1.9 + 2023-08-19 + + + + Links added with m:head-additions were not being made relative + to the chunk base URI. Reworked m:html-body-script slightly so that + links there can also be made relative appropriately. + + +
+
Changes in version 2.1.8 @@ -60,7 +75,6 @@ finer detail.
-
Changes in version 2.1.7 diff --git a/src/main/xslt/modules/chunk-cleanup.xsl b/src/main/xslt/modules/chunk-cleanup.xsl index c9a6854e5..a1ebbd2ca 100644 --- a/src/main/xslt/modules/chunk-cleanup.xsl +++ b/src/main/xslt/modules/chunk-cleanup.xsl @@ -237,7 +237,10 @@ - + + + + @@ -334,8 +337,15 @@ - - + + + + + + + + +