Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-commonmark-extensions for
openSUSE:Factory checked in at 2023-07-18 21:54:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-commonmark-extensions (Old)
and /work/SRC/openSUSE:Factory/.ghc-commonmark-extensions.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-commonmark-extensions"
Tue Jul 18 21:54:19 2023 rev:11 rq:1098948 version:0.2.3.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-commonmark-extensions/ghc-commonmark-extensions.changes
2023-04-04 21:19:17.860760912 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-commonmark-extensions.new.3193/ghc-commonmark-extensions.changes
2023-07-18 21:54:29.306415126 +0200
@@ -1,0 +2,8 @@
+Wed Jul 12 02:52:32 UTC 2023 - Peter Simons <[email protected]>
+
+- Update commonmark-extensions to version 0.2.3.5.
+ ## 0.2.3.5
+
+ - Resolve entities inside wikilinks (#105, MichaÅ KukieÅa).
+
+-------------------------------------------------------------------
Old:
----
commonmark-extensions-0.2.3.4.tar.gz
New:
----
commonmark-extensions-0.2.3.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-commonmark-extensions.spec ++++++
--- /var/tmp/diff_new_pack.ZKy6XW/_old 2023-07-18 21:54:30.226420270 +0200
+++ /var/tmp/diff_new_pack.ZKy6XW/_new 2023-07-18 21:54:30.254420426 +0200
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.3.4
+Version: 0.2.3.5
Release: 0
Summary: Pure Haskell commonmark parser
License: BSD-3-Clause
++++++ commonmark-extensions-0.2.3.4.tar.gz ->
commonmark-extensions-0.2.3.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/commonmark-extensions-0.2.3.4/changelog.md
new/commonmark-extensions-0.2.3.5/changelog.md
--- old/commonmark-extensions-0.2.3.4/changelog.md 2001-09-09
03:46:40.000000000 +0200
+++ new/commonmark-extensions-0.2.3.5/changelog.md 2001-09-09
03:46:40.000000000 +0200
@@ -1,5 +1,9 @@
# Changelog for commonmark-extensions
+## 0.2.3.5
+
+ - Resolve entities inside wikilinks (#105, MichaÅ KukieÅa).
+
## 0.2.3.4
- Require whitespace after definition list marker (#104).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/commonmark-extensions-0.2.3.4/commonmark-extensions.cabal
new/commonmark-extensions-0.2.3.5/commonmark-extensions.cabal
--- old/commonmark-extensions-0.2.3.4/commonmark-extensions.cabal
2001-09-09 03:46:40.000000000 +0200
+++ new/commonmark-extensions-0.2.3.5/commonmark-extensions.cabal
2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
name: commonmark-extensions
-version: 0.2.3.4
+version: 0.2.3.5
synopsis: Pure Haskell commonmark parser.
description:
This library provides some useful extensions to core commonmark
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/commonmark-extensions-0.2.3.4/src/Commonmark/Extensions/RebaseRelativePaths.hs
new/commonmark-extensions-0.2.3.5/src/Commonmark/Extensions/RebaseRelativePaths.hs
---
old/commonmark-extensions-0.2.3.4/src/Commonmark/Extensions/RebaseRelativePaths.hs
2001-09-09 03:46:40.000000000 +0200
+++
new/commonmark-extensions-0.2.3.5/src/Commonmark/Extensions/RebaseRelativePaths.hs
2001-09-09 03:46:40.000000000 +0200
@@ -11,7 +11,6 @@
import qualified Data.Text as T
import Data.Maybe (fromMaybe)
import Text.Parsec (getPosition)
-import Text.Parsec.Pos (sourceName)
import System.FilePath
import qualified System.FilePath.Windows as Windows
import qualified System.FilePath.Posix as Posix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/commonmark-extensions-0.2.3.4/src/Commonmark/Extensions/Wikilinks.hs
new/commonmark-extensions-0.2.3.5/src/Commonmark/Extensions/Wikilinks.hs
--- old/commonmark-extensions-0.2.3.4/src/Commonmark/Extensions/Wikilinks.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/commonmark-extensions-0.2.3.5/src/Commonmark/Extensions/Wikilinks.hs
2001-09-09 03:46:40.000000000 +0200
@@ -9,6 +9,7 @@
, HasWikilinks(..)
)
where
+import Commonmark.Entity
import Commonmark.Types
import Commonmark.Tokens
import Commonmark.Syntax
@@ -51,11 +52,11 @@
isPipe _ = False
let (title, url) =
case break isPipe toks of
- (xs, []) -> (untokenize xs, untokenize xs)
+ (xs, []) -> (unEntity xs, unEntity xs)
(xs, _:ys) ->
case titlepos of
- TitleBeforePipe -> (untokenize xs, untokenize ys)
- TitleAfterPipe -> (untokenize ys, untokenize xs)
+ TitleBeforePipe -> (unEntity xs, unEntity ys)
+ TitleAfterPipe -> (unEntity ys, unEntity xs)
symbol ']'
symbol ']'
return $ wikilink (strip url) (str (strip title))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/commonmark-extensions-0.2.3.4/test/wikilinks_title_after_pipe.md
new/commonmark-extensions-0.2.3.5/test/wikilinks_title_after_pipe.md
--- old/commonmark-extensions-0.2.3.4/test/wikilinks_title_after_pipe.md
2001-09-09 03:46:40.000000000 +0200
+++ new/commonmark-extensions-0.2.3.5/test/wikilinks_title_after_pipe.md
2001-09-09 03:46:40.000000000 +0200
@@ -31,3 +31,10 @@
<p><a href="Name%20of%20page" title="wikilink">Title</a></p>
````````````````````````````````
+HTML entities are recognized both in the name of page and in the link title.
+
+```````````````````````````````` example
+[[Geschütztes Leerzeichen|Über &nbsp;]]
+.
+<p><a href="Gesch%C3%BCtztes%20Leerzeichen" title="wikilink">Ãber
&nbsp;</a></p>
+````````````````````````````````
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/commonmark-extensions-0.2.3.4/test/wikilinks_title_before_pipe.md
new/commonmark-extensions-0.2.3.5/test/wikilinks_title_before_pipe.md
--- old/commonmark-extensions-0.2.3.4/test/wikilinks_title_before_pipe.md
2001-09-09 03:46:40.000000000 +0200
+++ new/commonmark-extensions-0.2.3.5/test/wikilinks_title_before_pipe.md
2001-09-09 03:46:40.000000000 +0200
@@ -39,4 +39,10 @@
<p><a href="Name%20of%20page">Title</a></p>
````````````````````````````````
+HTML entities are recognized both in the name of page and in the link title.
+```````````````````````````````` example
+[[Über &nbsp;|Geschütztes Leerzeichen]]
+.
+<p><a href="Gesch%C3%BCtztes%20Leerzeichen" title="wikilink">Ãber
&nbsp;</a></p>
+````````````````````````````````