mirror of
https://github.com/postgres/postgres.git
synced 2026-06-21 06:29:06 -04:00
doc: Fix "Prev" link.
Presently, the "Prev" link on the page for background workers sends you to the middle of the previous chapter instead of the actual previous page. This appears to be caused by a libxml2 bug, but regardless, a minimal fix is to change the link generation code to use [position()=last()] instead of [last()] in the predicate on the union of reverse axes. Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com> Discussion: https://postgr.es/m/aim4AZorFKaC7Wrf%40nathan Backpatch-through: 14
This commit is contained in:
parent
8ebbf79a83
commit
6678b58d78
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@
|
|||
|ancestor::article[1]
|
||||
|ancestor::topic[1]
|
||||
|preceding::sect1[1]
|
||||
|ancestor::sect1[1])[last()]"/>
|
||||
|ancestor::sect1[1])[position()=last()]"/>
|
||||
|
||||
<xsl:variable name="next"
|
||||
select="(following::book[1]
|
||||
|
|
|
|||
Loading…
Reference in a new issue