mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Replace two self.body.append by one in latex writer
This commit is contained in:
parent
e583e5b0f3
commit
314f5291d4
@ -2310,8 +2310,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
hlcode += '\\end{sphinxVerbatimintable}'
|
||||
else:
|
||||
hlcode += '\\end{sphinxVerbatim}'
|
||||
self.body.append('\n' + hllines)
|
||||
self.body.append('\n' + hlcode + '\n')
|
||||
self.body.append('\n' + hllines + '\n' + hlcode + '\n')
|
||||
if ids:
|
||||
self.body.append('\\let\\sphinxLiteralBlockLabel\\empty\n')
|
||||
raise nodes.SkipNode
|
||||
|
Loading…
Reference in New Issue
Block a user