mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: Do not escape € wrongly (refs: 0103ff2a2b
, #6835)
This commit is contained in:
parent
948ac3a1f0
commit
cf376bb455
@ -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}',
|
||||
|
Loading…
Reference in New Issue
Block a user