bustle / mobiledoc-kit

A toolkit for building WYSIWYG editors with Mobiledoc
https://bustle.github.io/mobiledoc-kit/demo/
MIT License
1.55k stars 150 forks source link

Section parser: <blockquote> is lost when it contains <p> children #715

Closed kevinansfield closed 4 years ago

kevinansfield commented 4 years ago

Parsing the following valid html:

<blockquote>
    <p>First paragraph...</p>
    <p>Second paragraph...</p>
</blockquote>

Results in two MarkupSections being created but without a tagName of blockquote so the intended semantics and styling is lost.