quick_xml::escape

Function unescape

Source
pub fn unescape(raw: &str) -> Result<Cow<'_, str>, EscapeError>
Expand description

Unescape an &str and replaces all xml escaped characters (&...;) into their corresponding value.

If feature escape-html is enabled, then recognizes all HTML5 escapes.