Skip to content

Commit 6aed7c4

Browse files
committed
doc PG relnotes: remove warning about commit links in PDF build
Make paragraph empty instead of removing it. Discussion: https://postgr.es/m/[email protected] Backpatch-through: 12
1 parent 6c5d9b3 commit 6aed7c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/stylesheet-fo.xsl

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
<!--
2020
Suppress the description of the commit link markers in print mode.
21-
Caues an "Unresolved ID reference found" warning during PDF builds
22-
because the paragraph is suppressed in the output.
21+
Use "node()" to keep the paragraph but remove all content; prevents
22+
an "Unresolved ID reference found" warning during PDF builds.
2323
-->
24-
<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']">
25-
<!-- Output nothing for this para -->
24+
<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()">
25+
<!-- Output an empty para -->
2626
</xsl:template>
2727

2828
<xsl:param name="use.extensions" select="1"></xsl:param>

0 commit comments

Comments
 (0)