pub fn unescape_attribute<'a, S: Into<Cow<'a, str>>>(escaped: S) -> Cow<'a, str>
Available on crate features
unescape
or unescape_fast
only.Expand description
Expand all valid entities in an attribute.
This is only appropriate for the value of an attribute. See
unescape_in()
for more information.
To work with bytes ([u8]
) instead of strings, see unescape_bytes_in()
.