Renderer that supports rendering to expat forests
Warning: because this renderer doesn't directly create the output, but rather
an XML tree representation, it is impossible to render pre-escaped text. This
means that preEscapedString
will produce the same output as string
. This
also applies to the functions preEscapedText
, preEscapedTextValue
...
- type Forest = [Node ByteString ByteString]
- renderHtml :: Html -> Forest
Documentation
type Forest = [Node ByteString ByteString]Source
Type used as list of nodes
renderHtml :: Html -> ForestSource
Render HTML to an expat forest