mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2412: hyperlink targets are broken in LaTeX builder
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -25,6 +25,7 @@ Bugs fixed
|
||||
depending on the style of declaration.
|
||||
* #2394: Fix Sphinx crashes when html_last_updated_fmt is invalid
|
||||
* #2408: dummy builder not available in Makefile and make.bat
|
||||
* #2412: Fix hyperlink targets are broken in LaTeX builder
|
||||
|
||||
|
||||
Release 1.4 (released Mar 28, 2016)
|
||||
|
||||
@@ -464,7 +464,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
hyperlink_ids.update(ids)
|
||||
|
||||
def pop_hyperlink_ids(self, figtype):
|
||||
return self.next_hyperlink_ids.get(figtype, set())
|
||||
return self.next_hyperlink_ids.pop(figtype, set())
|
||||
|
||||
def restrict_footnote(self, node):
|
||||
if self.footnote_restricted is False:
|
||||
|
||||
Reference in New Issue
Block a user