convert_td: strip text (#91)

This commit is contained in:
Carina de Oliveira Antunes
2024-03-26 20:49:50 +01:00
committed by GitHub
parent f33ccd7c1a
commit 0477a0c8a0

View File

@@ -370,7 +370,7 @@ class MarkdownConverter(object):
return '\n\n' + text + '\n'
def convert_td(self, el, text, convert_as_inline):
return ' ' + text + ' |'
return ' ' + text.strip() + ' |'
def convert_th(self, el, text, convert_as_inline):
return ' ' + text + ' |'