xhtml: Add a newline after a blockquote

Thanks Maranda.
This commit is contained in:
Emmanuel Gil Peyrot 2022-03-11 13:42:39 +01:00
parent 5d14094780
commit 4dde022de8

View file

@ -431,7 +431,7 @@ class XHTMLHandler(ContentHandler):
if 'href' in attrs and attrs['href'] != link_text:
builder.append(' (%s)' % _trim(attrs['href']))
elif name == 'blockquote':
builder.append('')
builder.append('\n')
elif name in ('cite', 'em', 'strong'):
self.pop_formatting()
elif name in ('ol', 'p', 'ul'):