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