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

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

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