Fix #2412: hyperlink targets are broken in LaTeX builder

This commit is contained in:
Takeshi KOMIYA
2016-04-04 11:02:09 +09:00
parent d35ccb9b4c
commit 1313726fd6
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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: