packages feed

markdown 0.1.9 → 0.1.10

raw patch · 3 files changed

+3/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Text.Markdown: instance Ord Markdown
+ Text.Markdown: instance Show Markdown

Files

Text/Markdown.hs view
@@ -45,7 +45,7 @@  -- | A newtype wrapper providing a @ToHtml@ instance. newtype Markdown = Markdown TL.Text-  deriving(Eq, Monoid, IsString)+  deriving(Eq, Ord, Monoid, IsString, Show)  instance ToMarkup Markdown where     toMarkup (Markdown t) = markdown def t
Text/Markdown/Block.hs view
@@ -242,7 +242,7 @@         Nothing -> False         Just t' ->             let (name, rest)-                    | Just x <- T.stripPrefix "!--" t' = ("--", t')+                    | Just _ <- T.stripPrefix "!--" t' = ("--", t')                     | otherwise = T.break (\c -> c `elem` " >") t'              in T.all isValidTagName name &&                 not (T.null name) &&
markdown.cabal view
@@ -1,5 +1,5 @@ Name:                markdown-Version:             0.1.9+Version:             0.1.10 Synopsis:            Convert Markdown to HTML, with XSS protection Description:         This library leverages existing high-performance libraries (attoparsec, blaze-html, text, and conduit), and should integrate well with existing codebases. Homepage:            https://github.com/snoyberg/markdown