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

Fix way of removing scripts from response #1

Open
GoogleCodeExporter opened this issue Nov 27, 2015 · 0 comments
Open

Fix way of removing scripts from response #1

GoogleCodeExporter opened this issue Nov 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

When jquery-autopager gets next page, it tries to get rid of script tags from 
DOM.
But in fact it deletes just wrappers (<script> & </script> tags) and keeps 
everything inside.

It can make problems if you have some html code within inline JavaScript. Such 
as images.

So, I have changed the script to delete script blocks with all content inside.

Please take a look my patch.

Original issue reported on code.google.com by dmi...@demenchuk.me on 20 Aug 2014 at 2:02

Attachments:

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

No branches or pull requests

1 participant