mirror of
https://github.com/vale981/recommonmark
synced 2025-03-05 10:01:39 -05:00
Fix regression with highliting
This commit is contained in:
parent
da77951476
commit
40a82ef39d
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class CommonMarkParser(parsers.Parser):
|
|||
self.current_node = new_section
|
||||
|
||||
def verbatim(self, text):
|
||||
verbatim_node = nodes.literal_block(text)
|
||||
verbatim_node = nodes.literal_block()
|
||||
text = ''.join(flatten(text))
|
||||
if text.endswith('\n'):
|
||||
text = text[:-1]
|
||||
|
|
Loading…
Add table
Reference in a new issue