Skip to content

Don't match JavaScript comments and strings when removing script tags. #14

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 1 commit into from
Dec 29, 2013
Merged

Conversation

jasny
Copy link
Contributor

@jasny jasny commented Dec 28, 2013

First remove HTML comments and CDATA sections.
Next remove the script tags.

Fixes #13

First remove HTML comments and CDATA sections.
Next remove the script tags.

Fixes #13
oscarotero added a commit that referenced this pull request Dec 29, 2013
Don't match JavaScript comments and strings when removing script tags.
@oscarotero oscarotero merged commit 02e9440 into php-embed:remove_scripts Dec 29, 2013
@jasny jasny deleted the remove_scripts branch June 9, 2014 18:59
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