Skip to content

Remove scripts, comments and cdata sections to avoid problems in the DOMDocument #15

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

Merged
merged 3 commits into from
Dec 29, 2013

Conversation

oscarotero
Copy link
Collaborator

No description provided.

oscarotero and others added 3 commits December 28, 2013 12:02
First remove HTML comments and CDATA sections.
Next remove the script tags.

Fixes #13
Don't match JavaScript comments and strings when removing script tags.
oscarotero added a commit that referenced this pull request Dec 29, 2013
Remove scripts, comments and cdata sections to avoid problems in the DOMDocument
@oscarotero oscarotero merged commit 152b87d into master Dec 29, 2013
@oscarotero oscarotero deleted the remove_scripts branch June 21, 2014 17:44
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.

2 participants