packages feed

yesod-markdown 0.4.1 → 0.5.0

raw patch · 2 files changed

+5/−4 lines, 2 filesdep ~yesod-coredep ~yesod-formPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: yesod-core, yesod-form

API changes (from Hackage documentation)

Files

Yesod/Markdown.hs view
@@ -59,11 +59,12 @@  markdownField :: RenderMessage master FormMessage => Field sub master Markdown markdownField = Field-    { fieldParse = blank $ Right . Markdown . unlines . lines' . T.unpack+    { fieldParse = \values _ -> blank (Right . Markdown . unlines . lines' . T.unpack) values     , fieldView  = \theId name attrs val _isReq -> toWidget         [hamlet|$newline never <textarea id="#{theId}" name="#{name}" *{attrs}>#{either id unMarkdown val} |]+     , fieldEnctype = UrlEncoded      }       where
yesod-markdown.cabal view
@@ -1,5 +1,5 @@ name:                yesod-markdown-version:             0.4.1+version:             0.5.0 synopsis:            Tools for using markdown in a yesod application description:         A subset of pandoc functionality useful for markdown processing in yesod applications homepage:            http://github.com/pbrisbin/yesod-markdown@@ -20,8 +20,8 @@                , blaze-html      >= 0.5   && < 0.6                , xss-sanitize    >= 0.3.1 && < 0.4                , directory-               , yesod-core      >= 1.0   && < 1.2-               , yesod-form      >= 1.0   && < 1.2+               , yesod-core      >= 1.1.5 && < 1.2+               , yesod-form      >= 1.2   && < 1.3                , hamlet          >= 1.1   && < 1.2                , persistent      >= 0.9   && < 1.1