mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2561: Info builder crashes when a footnote contains a link
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -61,6 +61,7 @@ Bugs fixed
|
||||
* ``sphinx.ext.intersphinx`` crashes if non-string value is used for key of `intersphinx_mapping`
|
||||
* #2518: `intersphinx_mapping` disallows non alphanumeric keys
|
||||
* #2558: unpack error on devhelp builder
|
||||
* #2561: Info builder crashes when a footnote contains a link
|
||||
|
||||
|
||||
Release 1.4.1 (released Apr 12, 2016)
|
||||
|
||||
@@ -650,7 +650,7 @@ class TexinfoTranslator(nodes.NodeVisitor):
|
||||
self.next_section_ids.add(node['refid'])
|
||||
self.next_section_ids.update(node['ids'])
|
||||
return
|
||||
except IndexError:
|
||||
except (IndexError, AttributeError):
|
||||
pass
|
||||
if 'refuri' in node:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user