blaze-html-hexpat-0.1.0.0: A hexpat backend for blaze-html.

Text.Blaze.Renderer.Hexpat

Description

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...

Synopsis

Documentation

type Forest = [Node ByteString ByteString]Source

Type used as list of nodes

renderHtml :: Html -> ForestSource

Render HTML to an expat forest