Fix regression with highliting

This commit is contained in:
Paul 2016-06-06 23:51:20 -05:00
parent da77951476
commit 40a82ef39d

View file

@ -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]