Correct vertical spacing of multiline X columns

This commit is contained in:
RunasSudo 2019-09-11 11:37:10 +10:00
parent 5255296dba
commit 659b2a0534
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

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