Merge pull request #5580 from tk0miya/5563_footnote_refs_causes_latex_crashed

Fix  #5563: latex: footnote_references generated by extension causes LaTeX builder crashed
This commit is contained in:
Takeshi KOMIYA 2018-11-01 22:53:03 +09:00 committed by GitHub
commit 7a1516a8b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ Bugs fixed
* #5549: graphviz Correctly deal with non-existing static dir
* #3002: i18n: multiple footnote_references referring same footnote causes
duplicated node_ids
* #5563: latex: footnote_references generated by extension causes LaTeX builder
crashed
* #5561: make all-pdf fails with old xindy version
Testing

View File

@ -26,7 +26,7 @@ URI_SCHEMES = ('mailto:', 'http:', 'https:', 'ftp:')
class FootnoteDocnameUpdater(SphinxTransform):
"""Add docname to footnote and footnote_reference nodes."""
default_priority = 200
default_priority = 700
TARGET_NODES = (nodes.footnote, nodes.footnote_reference)
def apply(self):