You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell there is no way to allow unsafeHTML to interpolate html but exclude <script> tags from executing. This would be a great security improvement because often there's very little reason to support <script> tags in unsafeHTML.
Alternatives and Workarounds
None aside from manually finding and replacing <script> tags.
The text was updated successfully, but these errors were encountered:
Should this be an RFC?
Which package is this a feature request for?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
As far as I can tell there is no way to allow
unsafeHTML
to interpolate html but exclude<script>
tags from executing. This would be a great security improvement because often there's very little reason to support <script> tags in unsafeHTML.Alternatives and Workarounds
None aside from manually finding and replacing <script> tags.
The text was updated successfully, but these errors were encountered: