[−][src]Function html_escape::encode_unquoted_attribute_to_vec
pub fn encode_unquoted_attribute_to_vec<S: AsRef<str>>(
text: S,
output: &mut Vec<u8>
) -> &[u8]
Write text used in an unquoted attribute to a mutable Vec<u8> reference and return the encoded data slice. 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;.