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
ef3447b0f9
commit
6f237096d4
@ -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('"', '""')
|
||||
value = value.replace('@', '"@')
|
||||
value = value.replace('!', '"!')
|
||||
return value
|
||||
|
Loading…
Reference in New Issue
Block a user