Function html_escape::encode_safe_to_string
source · Expand description
Encode text to prevent special characters functioning and write it to a mutable String
reference and return the encoded string slice.
The following characters are escaped:
&
=>&
<
=><
>
=>>
"
=>"
'
=>'
/
=>/