packages feed

markdown 0.1.13 → 0.1.13.1

raw patch · 3 files changed

+4/−3 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

Text/Markdown/Block.hs view
@@ -252,7 +252,7 @@         Just t' ->             let (name, rest)                     | Just _ <- T.stripPrefix "!--" t' = ("--", t')-                    | otherwise = T.break (\c -> c `elem` " >") t'+                    | otherwise = T.break (\c -> c == ' ' || c == '>') t'              in (T.all isValidTagName name &&                 not (T.null name) &&                 (not ("/" `T.isPrefixOf` rest) || ("/>" `T.isPrefixOf` rest)))
Text/Markdown/Inline.hs view
@@ -94,7 +94,8 @@     footnoteRef = InlineFootnoteRef <$> (char '{' *> decimal <* char '}')     footnote = InlineFootnote <$> (string "{^" *> decimal <* char '}') -    escape = InlineText . T.singleton <$> (char '\\' *> satisfy (`elem` "\\`*_{}[]()#+-.!>"))+    escape = InlineText . T.singleton <$>+        (char '\\' *> satisfy (`elem` ("\\`*_{}[]()#+-.!>" :: String)))      takeBalancedBrackets =         T.pack <$> go (0 :: Int)
markdown.cabal view
@@ -1,5 +1,5 @@ Name:                markdown-Version:             0.1.13+Version:             0.1.13.1 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