summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-04-01 06:53:17 +0000
committerrsiddharth <s@ricketyspace.net>2018-04-01 06:53:17 +0000
commitce1b7afe62b70c7e7c45c20ca9d96a3e6d6e8a89 (patch)
tree63fc93f5ba76635f3c075b86c75137a7a43350d4
parentbb09de93520ec43b23b70c99c1f5439a16cb255e (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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/md_tw.py b/md_tw.py
index 0ed992e..c144eae 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -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