summaryrefslogtreecommitdiffstats
path: root/md_tw.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-02-18 16:31:52 +0000
committerrsiddharth <s@ricketyspace.net>2018-02-18 16:31:52 +0000
commit61202ae9dccdc44f50388ab03b2318df8db05808 (patch)
treed88e5dce56dcfe1cbba214ab81f4ed7b5959204e /md_tw.py
parent446f2a2dfe7244d52483a239f402718b8ee94301 (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.py4
1 files changed, 3 insertions, 1 deletions
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):