mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1300: Fix references not working in translated documents in some instances.
This commit is contained in:
parent
1762a22bd8
commit
fbd5772342
2
CHANGES
2
CHANGES
@ -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
|
||||
-------------
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user