Function htmlize::unescape

source ·
pub fn unescape<'a, S: Into<Cow<'a, str>>>(escaped: S) -> Cow<'a, str>
Expand description

Expand all valid entities (requires unescape or unescape_fast feature).

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().