aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/sgml/stylesheet-fo.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl
index bb22a92d0af..e7916a6a883 100644
--- a/doc/src/sgml/stylesheet-fo.xsl
+++ b/doc/src/sgml/stylesheet-fo.xsl
@@ -22,11 +22,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>