blaze-html 0.4.3.3 → 0.4.3.4
raw patch · 6 files changed
+20/−1 lines, 6 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- blaze-html.cabal +1/−1
- src/Text/Blaze/Renderer/Pretty.hs +4/−0
- src/Text/Blaze/Renderer/String.hs +4/−0
- src/Text/Blaze/Renderer/Text.hs +4/−0
- src/Text/Blaze/Renderer/Utf8.hs +4/−0
- src/Util/GenerateHtmlCombinators.hs +3/−0
blaze-html.cabal view
@@ -1,5 +1,5 @@ Name: blaze-html-Version: 0.4.3.3+Version: 0.4.3.4 Homepage: http://jaspervdj.be/blaze Bug-Reports: http://github.com/jaspervdj/blaze-html/issues License: BSD3
src/Text/Blaze/Renderer/Pretty.hs view
@@ -1,3 +1,7 @@+{-# LANGUAGE CPP #-}+#if defined(__GLASGOW_HASKELL__) && (__GLASGOW_HASKELL__ >= 704)+{-# LANGUAGE Trustworthy #-}+#endif -- | A renderer that produces pretty HTML, mostly meant for debugging purposes. -- module Text.Blaze.Renderer.Pretty
src/Text/Blaze/Renderer/String.hs view
@@ -1,3 +1,7 @@+{-# LANGUAGE CPP #-}+#if defined(__GLASGOW_HASKELL__) && (__GLASGOW_HASKELL__ >= 704)+{-# LANGUAGE Trustworthy #-}+#endif -- | A renderer that produces a native Haskell 'String', mostly meant for -- debugging purposes. --
src/Text/Blaze/Renderer/Text.hs view
@@ -1,3 +1,7 @@+{-# LANGUAGE CPP #-}+#if defined(__GLASGOW_HASKELL__) && (__GLASGOW_HASKELL__ >= 704)+{-# LANGUAGE Trustworthy #-}+#endif {-# LANGUAGE OverloadedStrings #-} -- | A renderer that produces a lazy 'L.Text' value, using the Text Builder. --
src/Text/Blaze/Renderer/Utf8.hs view
@@ -1,3 +1,7 @@+{-# LANGUAGE CPP #-}+#if defined(__GLASGOW_HASKELL__) && (__GLASGOW_HASKELL__ >= 704)+{-# LANGUAGE Trustworthy #-}+#endif {-# LANGUAGE OverloadedStrings #-} module Text.Blaze.Renderer.Utf8 ( renderHtmlBuilder
src/Util/GenerateHtmlCombinators.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE CPP #-} #define DO_NOT_EDIT (doNotEdit __FILE__ __LINE__)+#define TRUSTWORTHY "{-# LANGUAGE CPP #-}\n#if defined(__GLASGOW_HASKELL__) && (__GLASGOW_HASKELL__ >= 704)\n{-# LANGUAGE Trustworthy #-}\n#endif" -- | Generates code for HTML tags. --@@ -67,6 +68,7 @@ -- Write the main module. writeFile' (basePath <.> "hs") $ removeTrailingNewlines $ unlines [ DO_NOT_EDIT+ , TRUSTWORTHY , "{-# LANGUAGE OverloadedStrings #-}" , "-- | This module exports HTML combinators used to create documents." , "--"@@ -90,6 +92,7 @@ -- Write the attribute module. writeFile' (basePath </> "Attributes.hs") $ removeTrailingNewlines $ unlines [ DO_NOT_EDIT+ , TRUSTWORTHY , "-- | This module exports combinators that provide you with the" , "-- ability to set attributes on HTML elements." , "--"