Function htmlize::unescape_attribute
source · pub fn unescape_attribute<'a, S: Into<Cow<'a, str>>>(escaped: S) -> Cow<'a, str>
Expand description
Expand all valid entities in an attribute (requires unescape
or
unescape_fast
feature).
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()
.