Safe Haskell | Safe-Infered |
---|
Text.XmlHtml.HTML.Render
- render :: Encoding -> Maybe DocType -> [Node] -> Builder
- renderHtmlFragment :: Encoding -> [Node] -> Builder
- escaped :: [Char] -> Encoding -> Text -> Builder
- node :: Encoding -> Node -> Builder
- firstNode :: Encoding -> Node -> Builder
- element :: Encoding -> Text -> Text -> [(Text, Text)] -> [Node] -> Builder
- attribute :: Encoding -> (Text, Text) -> Builder
Documentation
renderHtmlFragment :: Encoding -> [Node] -> BuilderSource
Function for rendering HTML nodes without the overhead of creating a Document structure.
escaped :: [Char] -> Encoding -> Text -> BuilderSource
HTML allows & so long as it is not ambiguous (i.e., looks like an entity). So we have a special case for that.