@escape - Escape Output
Syntax
@escape(variable)Description
Example
@define(userInput, "<script>alert('Hacked!')</script>")
<p>@escape(userInput)</p>Expected Behavior
<p><script>alert('Hacked!')</script></p>Notes
Last updated