diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-18 19:24:07 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-18 19:24:07 +0000 |
commit | 887652565943937a92e9d658c390ac34d3d25637 (patch) | |
tree | 401cbafcfbb7e3261be95e42744c24a24e2c7a14 | |
parent | a93933cf0aee57ed96ca68420cd2d569aff7ea5e (diff) |
md_tw.py: Update TWRenderer.paragraph.
* md_tw.py (TWRenderer)[paragraph]: Update method.
-rw-r--r-- | md_tw.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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): |