Returns the escaped html string of the given text
Optional
the source string to inspect
the escaped html string of the given text
escapeHtml('<div>foobar<div>'); // '<div>foobar<div>' Copy
escapeHtml('<div>foobar<div>'); // '<div>foobar<div>'
Returns the escaped html string of the given text