Closes #1300: Fix references not working in translated documents in some instances.

This commit is contained in:
Georg Brandl 2014-01-19 15:39:31 +01:00
parent 1762a22bd8
commit fbd5772342
2 changed files with 3 additions and 2 deletions

View File

@ -111,6 +111,8 @@ Bugs fixed
* #1329: Fix traceback with empty translation msgstr in .po files.
* #1300: Fix references not working in translated documents in some instances.
Documentation
-------------

View File

@ -242,8 +242,7 @@ class Locale(Transform):
self.document.ids.pop(_id, None)
# re-entry with new named section node.
self.document.note_implicit_target(
section_node, section_node)
self.document.note_implicit_target(section_node)
# replace target's refname to new target name
def is_named_target(node):