...
Returns the html input escaped.
Example
Code Block | ||
---|---|---|
| ||
return escapeHtml("<html><script><img src=1 onerror=alert(1)></script></html>"); |
...
...
Returns the html input escaped.
Code Block | ||
---|---|---|
| ||
return escapeHtml("<html><script><img src=1 onerror=alert(1)></script></html>"); |
...