From 887652565943937a92e9d658c390ac34d3d25637 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 18 Feb 2018 19:24:07 +0000 Subject: md_tw.py: Update TWRenderer.paragraph. * md_tw.py (TWRenderer)[paragraph]: Update method. --- md_tw.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/md_tw.py b/md_tw.py index ecb75ff..150085f 100644 --- a/md_tw.py +++ b/md_tw.py @@ -263,9 +263,9 @@ class TWRenderer(mistune.Renderer): return out def paragraph(self, text): - wrapped = self._tw_fill(text) - - return '{}\n\n'.format(wrapped) + out = self._tw_fill(text) + out = '{}\n{}\n'.format(out, self.tw_get('initial_indent').strip()) + return out class TWMarkdown(mistune.Markdown): -- cgit v1.2.3