Skip to content

Commit

Permalink
escape arguments of nospaceString
Browse files Browse the repository at this point in the history
  • Loading branch information
apunktbau committed Jul 8, 2014
1 parent 2002b86 commit 9b269ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TPDB/Xml.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mkel name cs = CElem ( Elem (N name) [] cs ) ()
rmkel name cs = return $ mkel name cs

nospaceString :: String -> Content ()
nospaceString s = CString False s ()
nospaceString s = CString False (escape s) ()

instance Typeable t => HTypeable t where
toHType x = let cs = show ( typeOf x ) in Prim cs cs
Expand Down

0 comments on commit 9b269ab

Please sign in to comment.