Merge pull request #6846 from jfbu/latex_texteuro

LaTeX: Do not escape € wrongly (refs: 0103ff2a2b, #6835)
This commit is contained in:
Jean-François B
2019-11-18 19:56:15 +01:00
committed by GitHub

View File

@@ -2164,8 +2164,6 @@ class LaTeXTranslator(SphinxTranslator):
node.rawsource, lang, opts=opts, linenos=linenos,
location=(self.curfilestack[-1], node.line), **highlight_args
)
# workaround for Unicode issue
hlcode = hlcode.replace('', '@texteuro[]')
if self.in_footnote:
self.body.append('\n\\sphinxSetupCodeBlockInFootnote')
hlcode = hlcode.replace('\\begin{Verbatim}',