-
-
Save uploadcare-user/9df3b01a2a337e6c82bbe86777560810 to your computer and use it in GitHub Desktop.
Snippet, <safescript> in a template processor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% safescript %} | |
var s = "surprise!</script><script>alert('whoops!')</script>"; | |
{% endsafescript %} | |
{% safescript %} | |
var a = 'Consider this string: <!--'; | |
var b = '<script>'; | |
{% endsafescript %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment