Fix #5563: latex: footnote_references generated by extension causes LaTeX builder crashed

This commit is contained in:
Takeshi KOMIYA 2018-11-01 00:46:19 +09:00
parent f4d7b2e60e
commit 021f370ade
2 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,8 @@ Bugs fixed
* #5419: incompatible math_block node has been generated
* #5548: Fix ensuredir() in case of pre-existing file
* #5549: graphviz Correctly deal with non-existing static dir
* #5563: latex: footnote_references generated by extension causes LaTeX builder
crashed
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):