diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-18 16:31:52 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-18 16:31:52 +0000 |
commit | 61202ae9dccdc44f50388ab03b2318df8db05808 (patch) | |
tree | d88e5dce56dcfe1cbba214ab81f4ed7b5959204e | |
parent | 446f2a2dfe7244d52483a239f402718b8ee94301 (diff) |
md_tw.py: Update TWRenderer.paragraph.
* md_tw.py (TWRenderer)[paragraph]: Update method.
-rw-r--r-- | md_tw.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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): |