Nested blockquote support

This commit is contained in:
Matthew Tretter
2012-07-06 21:13:59 -04:00
parent 7f391f8e9a
commit 293937c991
2 changed files with 8 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ class MarkdownConverter(object):
return self.convert_strong(el)
def convert_blockquote(self, el):
return line_beginning_re.sub('> ', el.text) if el.text else ''
return '\n' + line_beginning_re.sub('> ', el.text) if el.text else ''
def convert_br(self, el):
return ' \n'