Skip to main content

xml_escape

Function xml_escape 

Source
pub fn xml_escape(text: &str) -> String
Expand description

Escape text for XML attributes and character data (control characters other than tab and newlines are dropped: XML 1.0 cannot represent them).