From 4afc4ee459e35f0b268dc42ff484e612b7f0c2a5 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sun, 22 Sep 2019 03:48:20 +1000 Subject: [PATCH] Fix table spacing in RTF output --- legalmd/rtf_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legalmd/rtf_renderer.py b/legalmd/rtf_renderer.py index 7d4c690..a919ebb 100644 --- a/legalmd/rtf_renderer.py +++ b/legalmd/rtf_renderer.py @@ -195,7 +195,7 @@ class RTFRenderer(mistletoe.base_renderer.BaseRenderer): for i, row in enumerate(token.children): result.append(self.render_table_row(row)) - result.append(r'}') + result.append(r'}{\fs1\~\par}') return ''.join(result) def render_table_header(self, token):