mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 09:22:11 -05:00
Fix crash on any-references with unicode.
Fixes sphinx-doc/sphinx#2555.
This commit is contained in:
1 parent
1959dfe8d9
commit
a441ac98a1
2 files changed
+2
-1
No files matched your search
@@ -54,6 +54,7 @@ Bugs fixed
|
||||
* #2526: LaTeX writer crashes if the section having only images
|
||||
* #2522: Sphinx touches mo files under installed directory that caused permission error.
|
||||
* #2536: C++, fix crash when an immediately nested scope has the same name as the current scope.
|
||||
* #2555: Fix crash on any-references with unicode.
|
||||
|
||||
|
||||
Release 1.4.1 (released Apr 12, 2016)
|
||||
|
||||
@@ -4100,7 +4100,7 @@ class CPPDomain(Domain):
|
||||
parser.assert_end()
|
||||
except DefinitionError as e:
|
||||
warner.warn('Unparseable C++ cross-reference: %r\n%s'
|
||||
% (target, str(e.description)))
|
||||
% (target, text_type(e.description)))
|
||||
return None, None
|
||||
parentKey = node.get("cpp:parent_key", None)
|
||||
rootSymbol = self.data['root_symbol']
|
||||
|
||||
Reference in new issue
Block a user