From 61202ae9dccdc44f50388ab03b2318df8db05808 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 18 Feb 2018 16:31:52 +0000 Subject: md_tw.py: Update TWRenderer.paragraph. * md_tw.py (TWRenderer)[paragraph]: Update method. --- md_tw.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/md_tw.py b/md_tw.py index 8d92e89..acde6a5 100644 --- a/md_tw.py +++ b/md_tw.py @@ -253,7 +253,9 @@ class TWRenderer(mistune.Renderer): def paragraph(self, text): - return '\n{}\n'.format(self._tw_fill(text)) + wrapped = self._tw_fill(text) + + return '{}\n\n'.format(wrapped) class TWMarkdown(mistune.Markdown): -- cgit v1.2.3