Function htmlize::unescape

source ·
pub fn unescape<'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.

This is appropriate to use on any text outside of an attribute. See unescape_in() for more information.

To work with bytes ([u8]) instead of strings, see unescape_bytes_in().