Function quick_xml::escape::escape[][src]

pub fn escape(raw: &[u8]) -> Cow<'_, [u8]>
Expand description

Escapes a &[u8] and replaces all xml special characters (<, >, &, ’, “) with their corresponding xml escaped value.