Skip to content

<br> does not continue quote #114

@aykevl

Description

@aykevl

Example:

>>> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions