releasing version 0.20110516
This commit is contained in:
parent
760cde28b6
commit
3ab15b9f4f
3 changed files with 5 additions and 5 deletions
|
@ -188,7 +188,7 @@ configToKeyVal m = map toword $ sort $ M.toList m
|
|||
toword (k, v) = k ++ "=" ++ configEscape v
|
||||
|
||||
configEscape :: String -> String
|
||||
configEscape = concat . (map escape)
|
||||
configEscape = (>>= escape)
|
||||
where
|
||||
escape c
|
||||
| isSpace c || c `elem` "&" = "&" ++ show (ord c) ++ ";"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue