Converts the characters "&", "<", ">", '"', and "'" in string to their corresponding HTML entities.
string
escape('fred, barney, & pebbles'); //=> 'fred, barney, & pebbles'
The string to escape.
Returns the escaped string.
Generated using TypeDoc
Converts the characters "&", "<", ">", '"', and "'" in
string
to their corresponding HTML entities.