-
Notifications
You must be signed in to change notification settings - Fork 106
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 script/style escaping in App::getTag() #1137
Conversation
Help wanted with tests. It should test: |
@georgehristov Any feedback on this? |
Improves PR #1111. @romaninsh ok? @DarkSide666 ping |
The only hesitation I have on this is that I believe we should avoid hardcoding tags in the method (like |
@georgehristov isn't it by html spec? ref: https://mathiasbynens.be/notes/etago |
Yes, agree. If |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix #1136
@georgehristov , does it solve #1110 ?
The important fact is that
style
andscript
elements can not have child elements by definition.