@@ -87,11 +87,12 @@ escapeSGMLChar x =
87 '<' -> "<"
87 '<' -> "<"
88 '>' -> ">"
88 '>' -> ">"
89 '"' -> """
89 '"' -> """
92-- | True if the character needs to be escaped.
93-- | True if the character needs to be escaped.
93needsEscaping :: Char -> Bool
94needsEscaping :: Char -> Bool
94−needsEscaping c = c `elem` "&<>\""
95+needsEscaping c = c `elem` "&<>\"\160"
96-- | Escape string as needed for SGML. Entity references are not preserved.
97-- | Escape string as needed for SGML. Entity references are not preserved.
97escapeSGMLString :: String -> String
98escapeSGMLString :: String -> String