Merge pull request 'Fix latex_generator: Zamezení nekonečné rekurze' (#28) from fix-latex-gen into master

Reviewed-on: #28
This commit is contained in:
Jan Černohorský 2023-08-18 20:58:01 +02:00
commit f8ead389b6

View file

@ -56,7 +56,7 @@ class LaTeXGenerator(OutputGenerator):
self.endln()
def generate_Para(self, e: Para):
self.generate(e)
self.generate(e.content)
self.writeln("") # This ensures an empty line
def generate_Plain(self, e: Plain):