Fix linebreaks in pre blocks

This commit is contained in:
Tulir Asokan
2018-09-28 17:15:57 +03:00
parent 916cc3746d
commit c38e46fc2a
@@ -52,7 +52,7 @@ class RecursionContext:
return RecursionContext(strip_linebreaks=self.strip_linebreaks, ul_depth=self.ul_depth + 1)
def enter_code_block(self) -> 'RecursionContext':
return RecursionContext(strip_linebreaks=True, ul_depth=self.ul_depth)
return RecursionContext(strip_linebreaks=False, ul_depth=self.ul_depth)
class MatrixParser(MatrixParserCommon):