Function html_escape::encode_double_quoted_attribute
source · pub fn encode_double_quoted_attribute<S: ?Sized + AsRef<str>>(
text: &S
) -> Cow<'_, str>
Expand description
Encode text used in a double-quoted attribute.
The following characters are escaped:
&
=>&
<
=><
>
=>>
"
=>"