LaTeX: fix indexing of terms containing ! character

This commit is contained in:
jfbu 2018-07-11 18:34:40 +02:00
parent bfad757e45
commit ef3447b0f9

View File

@ -1956,6 +1956,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
value = value.replace(r'\{', r'{\sphinxleftcurlybrace}')
value = value.replace(r'\}', r'{\sphinxrightcurlybrace}')
value = value.replace('@', '"@')
value = value.replace('!', '"!')
return value
if not node.get('inline', True):