You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> import html2text
>>> h = html2text.HTML2Text()
>>> h.handle('a<blockquote>b<br>c</blockquote>')
u'a\n\n> b \nc\n\n'
>>> print h.handle('a<blockquote>b<br>c</blockquote>')
a
> b
c
The newlines are not preserved in the output. I would expect:
a
> b
> c
Just like in this HTML:
a
b c
The text was updated successfully, but these errors were encountered:
Example:
The newlines are not preserved in the output. I would expect:
Just like in this HTML:
The text was updated successfully, but these errors were encountered: