Replaces HTML-unsafe characters with their entity equivalents.
Escapes &, <, >, ", ', `, / and \.
&
<
>
"
'
`
/
\
Example:
escape('<script>'); // '<script>'
String escape(String str) => _escape(str);