Function html_escape::encode_quoted_attribute_to_writer
source · pub fn encode_quoted_attribute_to_writer<S: AsRef<str>, W: Write>(
text: S,
output: &mut W
) -> Result<(), Error>
Expand description
Write text used in a quoted attribute to a writer.
The following characters (HTML reserved characters) are escaped:
&
=>&
<
=><
>
=>>
"
=>"
'
=>'