mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1745: latex builder cause maximum recursion depth exceeded when a footnote has a footnote mark itself.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -21,6 +21,8 @@ Bugs fixed
|
||||
|
||||
* 1.3b3 change breaks a previous gettext output that contains duplicated
|
||||
msgid such as "foo bar" and "version changes in 1.3: foo bar".
|
||||
* #1745: latex builder cause maximum recursion depth exceeded when a
|
||||
footnote has a footnote mark itself.
|
||||
|
||||
|
||||
Release 1.3b3 (released Feb 24, 2015)
|
||||
|
||||
@@ -1388,8 +1388,8 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
raise UnsupportedError('%s:%s: footnotes in float captions '
|
||||
'are not supported by LaTeX' %
|
||||
(self.curfilestack[-1], node.line))
|
||||
footnode.walkabout(self)
|
||||
self.footnotestack[-1][num][1] = True
|
||||
footnode.walkabout(self)
|
||||
raise nodes.SkipChildren
|
||||
def depart_footnote_reference(self, node):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user