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