blaze-html-0.4.1.3: A blazingly fast HTML combinator library.Source codeContentsIndex
Text.Blaze.Renderer.Text
Description
A renderer that produces a lazy Text value, using the Text Builder.
Synopsis
renderHtml :: Html -> Text
renderHtmlWith :: (ByteString -> Text) -> Html -> Text
Documentation
renderHtmlSource
:: HtmlHTML to render
-> TextResulting Text
Render HTML to a lazy Text value. If there are any ByteString's in the input HTML, this function will consider them as UTF-8 encoded values and decode them that way.
renderHtmlWithSource
:: ByteString -> TextDecoder for ByteString's.
-> HtmlHTML to render
-> Text
Render HTML to a lazy Text value. This function allows you to specify what should happen with ByteString's in the input HTML. You can decode them or drop them, this depends on the application...
Produced by Haddock version 2.6.1