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
However, when rendering the same template via render-lit-html, the script will be emitted into the page and executed when parsed on the client. The SSR code should (optionally) identify <script> tags and mark with a type="disabled" or similar attribute to prevent script execution, to maintain the same guarantees client-side security guarantees when server-rendering.
The text was updated successfully, but these errors were encountered:
On the client, this code will not result in script execution:
However, when rendering the same template via
render-lit-html
, the script will be emitted into the page and executed when parsed on the client. The SSR code should (optionally) identify<script>
tags and mark with atype="disabled"
or similar attribute to prevent script execution, to maintain the same guarantees client-side security guarantees when server-rendering.The text was updated successfully, but these errors were encountered: