-
-
Notifications
You must be signed in to change notification settings - Fork 19
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]: parse obj in attrs #4
Comments
I can verify this. |
If you use v0.2.1 it works. This commit introduced the issue: posthtml/posthtml-parser@7e32484 |
may be
Yes it works but maybe I hurried up. it probably does not need to be parsed but it's only necessary to transform it with the renderer and all this should most likely be options |
Sounds like it needs to not be parsed. It shouldn't be unescaping those quotes and creating invalid html... |
Not sure if the same issue, but currently PostHTML transforms HTML like <img src='1" onload="alert()'> into <img src="1" onerror="alert()"> which creates security issues when executed on untrusted HTML. |
input
output
The text was updated successfully, but these errors were encountered: