summaryrefslogtreecommitdiffstats
path: root/md_tw.py
diff options
context:
space:
mode:
Diffstat (limited to 'md_tw.py')
-rw-r--r--md_tw.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/md_tw.py b/md_tw.py
index 150085f..ab20d7d 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -262,6 +262,10 @@ class TWRenderer(mistune.Renderer):
lambda line: True)
return out
+ def block_quote(self, text):
+ out = '{}'.format(text.rstrip('>\n'))
+ return out
+
def paragraph(self, text):
out = self._tw_fill(text)
out = '{}\n{}\n'.format(out, self.tw_get('initial_indent').strip())