postgres.git / summary / log / commit / refs
commit 940bcf80aa76a5f1e65b34d1db638f2079a07d84
Author: Bruce Momjian <bruce@momjian.us>
Date: Thu Sep 19 22:05:21 2024 +0000
First released in: 18.0, 12.21, 13.17, 14.14, 15.9, 16.5, 17.0
doc PG relnotes: remove warning about commit links in PDF build
Make paragraph empty instead of removing it.
Discussion: https://postgr.es/m/2029579.1726779139@sss.pgh.pa.us
Backpatch-through: 12
doc/src/sgml/stylesheet-fo.xsl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl
index 52a3aaa3cd4..19f54daaa8f 100644
--- a/doc/src/sgml/stylesheet-fo.xsl
+++ b/doc/src/sgml/stylesheet-fo.xsl
@@ -18,11 +18,11 @@
<!--
Suppress the description of the commit link markers in print mode.
-Caues an "Unresolved ID reference found" warning during PDF builds
-because the paragraph is suppressed in the output.
+Use "node()" to keep the paragraph but remove all content; prevents
+an "Unresolved ID reference found" warning during PDF builds.
-->
-<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']">
- <!-- Output nothing for this para -->
+<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()">
+ <!-- Output an empty para -->
</xsl:template>
<xsl:param name="use.extensions" select="1"></xsl:param>
[parent: 468501b17a3a]