Skip to content
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

Normalise document after parse #3

Closed
jhy opened this issue Feb 7, 2010 · 1 comment
Closed

Normalise document after parse #3

jhy opened this issue Feb 7, 2010 · 1 comment
Labels

Comments

@jhy
Copy link
Owner

jhy commented Feb 7, 2010

Add a post-parse document normalisation phase.

Particularly, move text nodes that aren't in #body (ie in #root, #html, #head) into body.

Add a textNode#isWhitespace method to check if textnode should be moved.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant