Function html_escape::encode_unquoted_attribute_to_writer
source · pub fn encode_unquoted_attribute_to_writer<S: AsRef<str>, W: Write>(
text: S,
output: &mut W
) -> Result<(), Error>Expand description
Write text used in an unquoted attribute to a writer. Except for alphanumeric characters, escape all characters which are less than 128.
The following characters are escaped to named entities:
&=>&<=><>=>>"=>"
Other non-alphanumeric characters are escaped to &#xHH;.