Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-commonmark for openSUSE:Factory checked in at 2021-01-20 18:25:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-commonmark (Old) and /work/SRC/openSUSE:Factory/.ghc-commonmark.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-commonmark" Wed Jan 20 18:25:54 2021 rev:6 rq:864288 version:0.1.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-commonmark/ghc-commonmark.changes 2020-12-22 11:37:36.293388127 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-commonmark.new.28504/ghc-commonmark.changes 2021-01-20 18:26:16.507452196 +0100 @@ -1,0 +2,10 @@ +Tue Jan 12 10:53:27 UTC 2021 - psim...@suse.com + +- Update commonmark to version 0.1.1.3. + ## 0.1.1.3 + + * Fix bug in links with spaces at the beginning or end of + link description (#67). We were putting flankingness constraints + on the link delimiters, but this isn't requried by the spec. + +------------------------------------------------------------------- Old: ---- commonmark-0.1.1.2.tar.gz New: ---- commonmark-0.1.1.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-commonmark.spec ++++++ --- /var/tmp/diff_new_pack.L6Q8qZ/_old 2021-01-20 18:26:17.331452980 +0100 +++ /var/tmp/diff_new_pack.L6Q8qZ/_new 2021-01-20 18:26:17.335452984 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-commonmark # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name commonmark %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.1.2 +Version: 0.1.1.3 Release: 0 Summary: Pure Haskell commonmark parser License: BSD-3-Clause ++++++ commonmark-0.1.1.2.tar.gz -> commonmark-0.1.1.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/commonmark-0.1.1.2/changelog.md new/commonmark-0.1.1.3/changelog.md --- old/commonmark-0.1.1.2/changelog.md 2020-11-06 01:50:21.000000000 +0100 +++ new/commonmark-0.1.1.3/changelog.md 2021-01-11 20:44:39.000000000 +0100 @@ -1,5 +1,11 @@ # Changelog for commonmark +## 0.1.1.3 + +* Fix bug in links with spaces at the beginning or end of + link description (#67). We were putting flankingness constraints + on the link delimiters, but this isn't requried by the spec. + ## 0.1.1.2 * Fix bug in fix to #65 (#66). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/commonmark-0.1.1.2/commonmark.cabal new/commonmark-0.1.1.3/commonmark.cabal --- old/commonmark-0.1.1.2/commonmark.cabal 2020-11-06 01:49:22.000000000 +0100 +++ new/commonmark-0.1.1.3/commonmark.cabal 2021-01-11 20:43:38.000000000 +0100 @@ -1,6 +1,6 @@ cabal-version: 2.2 name: commonmark -version: 0.1.1.2 +version: 0.1.1.3 synopsis: Pure Haskell commonmark parser. description: This library provides the core data types and functions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/commonmark-0.1.1.2/src/Commonmark/Inlines.hs new/commonmark-0.1.1.3/src/Commonmark/Inlines.hs --- old/commonmark-0.1.1.2/src/Commonmark/Inlines.hs 2020-11-06 01:46:41.000000000 +0100 +++ new/commonmark-0.1.1.3/src/Commonmark/Inlines.hs 2021-01-11 20:32:33.000000000 +0100 @@ -315,10 +315,10 @@ Symbol '`' | n > 0 -> go (n+1) pos ts | otherwise -> go (n+1) (tokPos t) ts - _ | n > 0 -> IntMap.alter (\x -> - case x of - Nothing -> Just [pos] - Just ps -> Just (pos:ps)) n $ go 0 pos ts + _ | n > 0 -> IntMap.alter (\case + Nothing -> Just [pos] + Just ps -> Just (pos:ps)) + n (go 0 pos ts) | otherwise -> go 0 pos ts pChunk :: (IsInline a, Monad m) @@ -728,8 +728,8 @@ , absoluteBottom = chunkPos chunk' } - (Just opener@(Chunk Delim{ delimCanOpen = True, delimType = '[' } _ _), - Just closer@(Chunk Delim{ delimCanClose = True, delimType = ']'} closePos _)) -> + (Just opener@(Chunk Delim{ delimType = '[' } _ _), + Just closer@(Chunk Delim{ delimType = ']'} closePos _)) -> let chunksinside = takeWhile (\ch -> chunkPos ch /= closePos) (afters left) isBracket (Chunk Delim{ delimType = c' } _ _) = @@ -831,10 +831,10 @@ } - (_, Just (Chunk Delim{ delimCanClose = True, delimType = ']' } _ _)) + (_, Just (Chunk Delim{ delimType = ']' } _ _)) -> processBs bracketedSpecs st{ leftCursor = moveLeft left } - (Just _, Just (Chunk Delim{ delimCanOpen = True, delimType = '[' } _ _)) + (Just _, Just (Chunk Delim{ delimType = '[' } _ _)) -> processBs bracketedSpecs st{ leftCursor = right , rightCursor = moveRight right } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/commonmark-0.1.1.2/test/regression.md new/commonmark-0.1.1.3/test/regression.md --- old/commonmark-0.1.1.2/test/regression.md 2020-08-05 20:58:02.000000000 +0200 +++ new/commonmark-0.1.1.3/test/regression.md 2021-01-11 20:35:28.000000000 +0100 @@ -194,3 +194,12 @@ </li> </ul> ```````````````````````````````` + +Issue #67. +```````````````````````````````` example +[test ](http://www.example.com/) +[ test](http://www.example.com/) +. +<p><a href="http://www.example.com/">test </a> +<a href="http://www.example.com/"> test</a></p> +````````````````````````````````