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
a86e5098ed
commit
bfad757e45
@ -1955,6 +1955,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