summaryrefslogtreecommitdiffstats
path: root/md_tw.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-02-18 19:24:07 +0000
committerrsiddharth <s@ricketyspace.net>2018-02-18 19:24:07 +0000
commit887652565943937a92e9d658c390ac34d3d25637 (patch)
tree401cbafcfbb7e3261be95e42744c24a24e2c7a14 /md_tw.py
parenta93933cf0aee57ed96ca68420cd2d569aff7ea5e (diff)
md_tw.py: Update TWRenderer.paragraph.
* md_tw.py (TWRenderer)[paragraph]: Update method.
Diffstat (limited to 'md_tw.py')
-rw-r--r--md_tw.py6
1 files 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):