diff --git a/markdownify/__init__.py b/markdownify/__init__.py index a60400c..eaa58c1 100644 --- a/markdownify/__init__.py +++ b/markdownify/__init__.py @@ -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 + ' |'