microformats2-parser 1.0.1.7 → 1.0.1.8
raw patch · 3 files changed
+12/−5 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.Microformats2.Parser: sinkDoc :: MonadThrow m => Sink ByteString m Document
+ Data.Microformats2.Parser: sinkDoc :: MonadThrow m => ConduitT ByteString o m Document
Files
README.md view
@@ -1,4 +1,8 @@-# microformats2-parser [](https://hackage.haskell.org/package/microformats2-parser) [](https://travis-ci.org/myfreeweb/microformats2-parser) [](http://unlicense.org)+[](https://hackage.haskell.org/package/microformats2-parser)+[](https://travis-ci.org/myfreeweb/microformats2-parser)+[](http://unlicense.org)++# microformats2-parser [Microformats 2] parser for Haskell! [#IndieWeb]
library/Data/Microformats2/Parser/Property.hs view
@@ -91,7 +91,10 @@ extractU ∷ Element → Maybe (Text, Bool) -- ^ The Microformats 2 spec requires URL resolution only in some cases. The Bool here is whether you should resolve the result.-extractU e = fmap (& _1 %~ unescapeHtml) $+extractU e =+#if !MIN_VERSION_html_conduit(1,3,1)+ fmap (& _1 %~ unescapeHtml) $+#endif asum $ [ (, True) <$> getAAreaHref e , (, True) <$> getImgAudioVideoSourceSrc e , (, True) <$> getObjectData e
microformats2-parser.cabal view
@@ -1,11 +1,11 @@ name: microformats2-parser-version: 1.0.1.7+version: 1.0.1.8 synopsis: A Microformats 2 parser. description: A parser for Microformats 2 (http://microformats.org/wiki/microformats2), a simple way to describe structured information in HTML. category: Web homepage: https://github.com/myfreeweb/microformats2-parser author: Greg V-copyright: 2015-2017 Greg V <greg@unrelenting.technology>+copyright: 2015-2018 Greg V <greg@unrelenting.technology> maintainer: greg@unrelenting.technology license: PublicDomain license-file: UNLICENSE@@ -14,7 +14,7 @@ extra-source-files: README.md tested-with:- GHC == 8.0.2+ GHC == 8.4.2 source-repository head type: git