-
Notifications
You must be signed in to change notification settings - Fork 182
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
Incorrect HTML for empty <script> tags #90
Comments
I've got the same problem. I tested the latest version on github. It is still failed. Actually, I think it is due to lxml. I tried
For user, it may be a bug. A trick is that you can insert some useless js into the script tag to make it works correctly, like
|
works well |
Even if this bug/conversation seems dead:
If you write something like This is not a bug, due to
|
The following python code generates incorrect HTML code for empty script tags.
The expected output is exactly the input string. However, the actual output is
Testing Environment:
OS: Mac OS X 10.10
Python: 2.7.6 (shipped with OS)
PyQuery: 1.2.9 (installed from pip)
The text was updated successfully, but these errors were encountered: