packages feed

blizzard-html 0.4.0.0 → 0.4.0.1

raw patch · 3 files changed

+12/−1 lines, 3 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Blizzard.Html: data Text
+ Blizzard.Html: text :: Text -> Html

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for blizzard-html +## 0.4.0.1 -- 2022-07-22++* Exported Text and added text function.+ ## 0.4.0.0 -- 2022-07-22  * Added additional attributes.
blizzard-html.cabal view
@@ -19,7 +19,7 @@ name:               blizzard-html stability:          Experimental synopsis:           An HTML renderer for Haskell-version:            0.4.0.0+version:            0.4.0.1   library
src/Blizzard/Html.hs view
@@ -3,6 +3,7 @@ module Blizzard.Html     ( Attribute     , Html+    , Text     , docType     , docTypeHtml     , a@@ -100,6 +101,7 @@     , table     , tbody     , td+    , text     , textarea     , tfoot     , th@@ -116,6 +118,7 @@     ) where  +import Data.Text (Text) import Prelude (Maybe) import Text.Blaze.Html (Attribute, Html) @@ -510,6 +513,10 @@  td :: [Maybe Attribute] -> [Html] -> Html td = normalTag Html.td+++text :: Text -> Html+text = Html.toHtml   textarea :: [Maybe Attribute] -> [Html] -> Html