Portability | Haskell 98 |
---|---|
Stability | experimental |
Maintainer | Niklas Broberg, nibro@cs.chalmers.se |
Safe Haskell | None |
Escaping between CDATA = PCDATA
- escape :: Text -> Builder
- escaper :: [(Char, Builder)] -> Text -> Builder
- xmlEscapeChars :: [(Char, Builder)]
Documentation
escape :: Text -> BuilderSource
Take a normal string and transform it to PCDATA by escaping special characters.
calls escaper
with xmlEscapeChars
See also: escaper
:: [(Char, Builder)] | table of escape characters |
-> Text | String to escape |
-> Builder | Escaped String |
Take a normal string and transform it to PCDATA by escaping special characters.
See also: escape
, xmlEscapeChars
xmlEscapeChars :: [(Char, Builder)]Source