diff options
author | Bruce Momjian <bruce@momjian.us> | 2024-09-19 18:05:21 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2024-09-19 18:05:21 -0400 |
commit | 6aed7c49ce173386edbe62d178218de6c9fbac42 (patch) | |
tree | ec30f1178c5061614775fe4484a333eb3f9bec55 | |
parent | 6c5d9b3f53510f710e62f175a822c96617a724db (diff) | |
download | postgresql-6aed7c49ce173386edbe62d178218de6c9fbac42.tar.gz postgresql-6aed7c49ce173386edbe62d178218de6c9fbac42.zip |
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
-rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 623b460925a..f055054642d 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> |