pub fn unescape_with<'input, 'entity, F>( raw: &'input str, resolve_entity: F, ) -> Result<Cow<'input, str>, EscapeError>where F: FnMut(&str) -> Option<&'entity str>,