From 659b2a05346fdfab0d71e5929617816d0e0d2082 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Wed, 11 Sep 2019 11:37:10 +1000 Subject: [PATCH] Correct vertical spacing of multiline X columns --- legalmd/latex_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legalmd/latex_renderer.py b/legalmd/latex_renderer.py index 1def506..e77ca8b 100644 --- a/legalmd/latex_renderer.py +++ b/legalmd/latex_renderer.py @@ -183,7 +183,7 @@ class LaTeXRenderer(mistletoe.latex_renderer.LaTeXRenderer): def render_table_row(self, token): cells = [(token.children[0].label + '.') if token.children[0].label else ''] + [self.render_table_cell(child) for child in token.children] - return ' & '.join(cells) + ' \\\\' + return ' & '.join(cells) + ' \\strut\\\\' def render_table_cell(self, token): return self.render_inner(token)