nice-html 0.1.1 → 0.1.2
raw patch · 3 files changed
+8/−3 lines, 3 files
Files
- nice-html.cabal +1/−1
- src/Text/Html/Nice.hs +4/−2
- src/Text/Html/Nice/Internal.hs +3/−0
nice-html.cabal view
@@ -1,5 +1,5 @@ name: nice-html-version: 0.1.1+version: 0.1.2 category: Web description: A fast and nice HTML templating library with distinct compilation/rendering phases. synopsis: A fast and nice HTML templating library with distinct compilation/rendering phases.
src/Text/Html/Nice.hs view
@@ -11,6 +11,8 @@ , renderM , renderMs , render+ -- * Utility+ , recompile -- * Re-exports of 'TLB.Builder' functions , module Data.Text.Lazy.Builder , module Data.Text.Lazy.Builder.Int@@ -25,7 +27,7 @@ import Data.Text.Lazy.Builder.Int import Data.Text.Lazy.Builder.RealFloat import Text.Html.Nice.Internal ((:$) (..), FastMarkup,- Render (..), render, renderM,- renderMs)+ Render (..), recompile,+ render, renderM, renderMs) import Text.Html.Nice.Writer import Text.Html.Nice.Writer.Html5
src/Text/Html/Nice/Internal.hs view
@@ -314,6 +314,9 @@ compile_ :: Markup' a -> FastMarkup a compile_ = strictify . flatten . fast +recompile :: FastMarkup a -> FastMarkup a+recompile = strictify . flatten+ -------------------------------------------------------------------------------- -- Rendering