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

ensure style tags are skipped when parsing HTML/dom #269

Merged
merged 1 commit into from
Dec 16, 2015
Merged

Conversation

bantic
Copy link
Collaborator

@bantic bantic commented Dec 16, 2015

Discovered that <style> tags have their text inserted when pasting HTML that has style tags in it. This PR adds a few blacklisted element tag names to skip. More can be added later as we find the need for them.

bantic added a commit that referenced this pull request Dec 16, 2015
ensure style tags are skipped when parsing HTML/dom
@bantic bantic merged commit a23670d into master Dec 16, 2015
@bantic bantic deleted the skip-style-nodes branch December 16, 2015 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant