[−][src]Function html_escape::encode_single_quoted_attribute_to_string
pub fn encode_single_quoted_attribute_to_string<S: AsRef<str>>(
text: S,
output: &mut String
) -> &str
Write text used in a single-quoted attribute to a mutable String
reference and return the encoded string slice.
The following characters are escaped:
&
=>&
<
=><
>
=>>
'
=>'