Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the html input escaped.

Example

Code Block
languagejs
return escapeHtml("<html><script><img src=1 onerror=alert(1)></script></html>");

...