mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: fix indexing of terms containing @ character
This commit is contained in:
parent
35c69ccfb5
commit
f0eeb5457c
@ -1924,6 +1924,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
value = self.encode(value)
|
||||
value = value.replace(r'\{', r'{\sphinxleftcurlybrace}')
|
||||
value = value.replace(r'\}', r'{\sphinxrightcurlybrace}')
|
||||
value = value.replace('@', '"@')
|
||||
return value
|
||||
|
||||
if not node.get('inline', True):
|
||||
|
Loading…
Reference in New Issue
Block a user