blob: 615abbc1cde216cfe1808313e9fb147b0253d36f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{-# LANGUAGE RankNTypes #-}
module Text.BlazeT.Renderer.String
( fromChoiceString
, renderMarkup
, renderHtml
) where
import Text.Blaze.Internal (ChoiceString)
import qualified Text.Blaze.Renderer.String as BU
import Text.BlazeT
fromChoiceString :: ChoiceString -> String -> String
fromChoiceString = BU.fromChoiceString
renderMarkup :: MarkupI a -> String
renderMarkup = BU.renderMarkup . execMarkup
renderHtml :: MarkupI a -> String
renderHtml = renderMarkup
|