Function html_escape::encode_safe_to_writer
source · pub fn encode_safe_to_writer<S: AsRef<str>, W: Write>(
text: S,
output: &mut W
) -> Result<(), Error>
Expand description
Encode text to prevent special characters functioning and write it to a writer.
The following characters are escaped:
&
=>&
<
=><
>
=>>
"
=>"
'
=>'
/
=>/