diff options
author | rsiddharth <s@ricketyspace.net> | 2018-04-01 06:53:17 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-04-01 06:53:17 +0000 |
commit | ce1b7afe62b70c7e7c45c20ca9d96a3e6d6e8a89 (patch) | |
tree | 63fc93f5ba76635f3c075b86c75137a7a43350d4 | |
parent | bb09de93520ec43b23b70c99c1f5439a16cb255e (diff) |
md_tw.py: TWRenderer.paragraph.
Don't append rstripped prefix.
The rstripped prefix was appended before to render paragraphs
correctly inside a blockquote. The blockquote rendering was updated to
handle this; therefore paragraph rendering should not concern itself
with this now.
* md_tw.py (TWRenderer.paragraph): Update method.
-rw-r--r-- | md_tw.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -297,7 +297,7 @@ class TWRenderer(mistune.Renderer): def paragraph(self, text): out = self.tw_fill(text) - out = '{}\n{}\n'.format(out, self.tw_get('initial_indent').rstrip()) + out = '{}\n\n'.format(out) return out |