Skip to content

Commit 658fc6c

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/2029579.1726779139@sss.pgh.pa.us Backpatch-through: 12
1 parent c6b1506 commit 658fc6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/stylesheet-fo.xsl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222

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

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

0 commit comments

Comments
 (0)