Function quick_xml::escape::resolve_predefined_entity

source ยท
pub fn resolve_predefined_entity(entity: &str) -> Option<&'static str>
Expand description

Resolves predefined XML entities or all HTML5 entities depending on the feature escape-html.

Behaves like resolve_xml_entity if feature is not enabled and as resolve_html5_entity if enabled.