Portability | GHC |
---|---|
Stability | experimental |
Maintainer | alasdair.armstrong@googlemail.com |
- data Escaper e = Escaper {
- escapeAttr :: Attr -> Attr
- escapeText :: Text -> Text
- childEscaper :: Text -> Escaper e
- encoder :: Text -> e
- unsafe :: Escaper Text
- renderAttrs :: Escaper e -> Attrs -> Text
- renderAttr :: Attr -> Text
- renderNode :: Escaper e -> Node -> Text
- renderT :: (Functor t, Monad t, Content c) => Escaper e -> XHtmlT t c -> t e
- render :: Content c => Escaper e -> XHtml c -> e
Documentation
Escaper | |
|
renderAttrs :: Escaper e -> Attrs -> TextSource
renderAttr :: Attr -> TextSource
renderNode :: Escaper e -> Node -> TextSource