aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/Text/BlazeT/Renderer/String.hs
blob: 615abbc1cde216cfe1808313e9fb147b0253d36f (plain) (tree)
1
2
3
4
5
6
7
                           



                                  

         






                                                           
                                   
                                           
 
                                 
                         
 
{-# 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