@@ -53,12 +53,11 @@ escapeCharForXML x = case x of
53 '<' -> "<"
53 '<' -> "<"
54 '>' -> ">"
54 '>' -> ">"
55 '"' -> """
55 '"' -> """
59-- | True if the character needs to be escaped.
58-- | True if the character needs to be escaped.
60needsEscaping :: Char -> Bool
59needsEscaping :: Char -> Bool
61−needsEscaping c = c `elem` "&<>\"\160"
60+needsEscaping c = c `elem` "&<>\""
63-- | Escape string as needed for XML. Entity references are not preserved.
62-- | Escape string as needed for XML. Entity references are not preserved.
64escapeStringForXML :: String -> String
63escapeStringForXML :: String -> String