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

Stripping style and script tags in clean function #25

Closed
robertclarkson opened this issue Aug 21, 2015 · 1 comment
Closed

Stripping style and script tags in clean function #25

robertclarkson opened this issue Aug 21, 2015 · 1 comment

Comments

@robertclarkson
Copy link

Hey mate, great module, just started using it, just wondering why i can't pull out any script tags, and i can see they're getting stripped in your clean() function.

This could be just what you want, but i'm actually wanting to parse these out! Ah well could just fork it ay.

Thanks again.
Cheers
Rob

@paquettg
Copy link
Owner

Hey robert,
You are correct that, currently, we remove all script tags to make it easier to parse the html file. If you can come up with a solution in your fork that can handle parsing the script tag with out incorrectly removing html/including html tags that should not be please send us a pull request.

Thanks.

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

No branches or pull requests

2 participants