-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not parsing correclty #40
Comments
I have a similar problem, but it looks like, when having nested tags, the next following tag after the closing of nested parent, is included as children to the nested.
will generate following
|
If you need a quick solution - I used htmlparser2 instead. |
ericponto
added a commit
to ericponto/html-parse-stringify
that referenced
this issue
Oct 13, 2020
ericponto
added a commit
to ericponto/html-parse-stringify
that referenced
this issue
Oct 13, 2020
…t level after closing a tag
From my understanding this has been fixed, thanks (sorry for the delay) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This HTML string:
<p><em>a</em></p><p>b</p><p><strong>c</strong></p><ul><li>d</li></ul><p>e</p>
will generate the following AST:
So basically the outermost p tag is considered to be wrapping all other elements.
The text was updated successfully, but these errors were encountered: