-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Don't escape the text content in style #21
Labels
💪 phase/solved
Post is done
Comments
Hmm, yeah, bug. document.body.innerHTML = `<style>
body > style {
display: block; color: red;
}
</style>`;
console.log(document.body.innerHTML)
new XMLSerializer().serializeToString(document.body) |
wooorm
added a commit
that referenced
this issue
May 27, 2023
5 tasks
I have a PR, could you check it? |
😁 I have just reviewd the core implement Thanks for your job, bro! |
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Initial checklist
Problem
Actually output:
Solution
Expected output:
Alternatives
/
The text was updated successfully, but these errors were encountered: