pub fn escape_xml(input: &str) -> StringExpand description
Escapes text for XML content — used by the sitemap and RSS generators.
Differs from escape_text in one character: ' becomes ', which is an XML
entity, rather than '.
§Examples
use winged_rust::core::escape::escape_xml;
assert_eq!(escape_xml("Tom & Jerry's <show>"), "Tom & Jerry's <show>");