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
The library is adding what I believe to be unintended newline characters, when parsing a document with li > p structure with newlines in between the 2 nodes:
The 2 first examples work as intended, but if you add a space or newline character between the <li> and the <p> the library changes its behaviour and introduces the problem.
Funnily enough this scenario was accounted for in the list specs here, but the corresponding assertion is being skipped here - and it has been this way since 2012 (cd24cc3).
Anyway I'll open a PR shortly with a fix proposal. 👍
The text was updated successfully, but these errors were encountered:
The library is adding what I believe to be unintended newline characters, when parsing a document with
li > p
structure with newlines in between the 2 nodes:The 2 first examples work as intended, but if you add a space or newline character between the
<li>
and the<p>
the library changes its behaviour and introduces the problem.Funnily enough this scenario was accounted for in the list specs here, but the corresponding assertion is being skipped here - and it has been this way since 2012 (cd24cc3).
Anyway I'll open a PR shortly with a fix proposal. 👍
The text was updated successfully, but these errors were encountered: