markdown-textwrap

text wrap markdown documents
git clone git://git.ricketyspace.net/markdown-textwrap.git
Log | Files | Refs

commit eb1ff55febcc0ab79fa71b9b6cbf060cd8b12880
parent 7af05c6ae99e064dd80b91e3fbb90a670dff891b
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon,  5 Mar 2018 02:27:50 +0000

md_tw.py: Update TWRenderer.block_quote.

* md_tw.py (TWRenderer)[block_quote]: Append newline to out.

Diffstat:
md_tw.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/md_tw.py b/md_tw.py @@ -269,7 +269,7 @@ class TWRenderer(mistune.Renderer): return out def block_quote(self, text): - out = '{}'.format(text.rstrip('>\n')) + out = '{}\n'.format(text.rstrip('>\n')) return out def block_html(self, html):