Function rsvg::space::xml_space_normalize
source · pub fn xml_space_normalize(mode: XmlSpaceNormalize, s: &str) -> String
Expand description
Implements xml:space
handling per the SVG spec
Normalizes a string as it comes out of the XML parser’s handler for character data according to the SVG rules in https://www.w3.org/TR/SVG/text.html#WhiteSpace