Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-djot for openSUSE:Factory checked in at 2025-12-05 16:55:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-djot (Old) and /work/SRC/openSUSE:Factory/.ghc-djot.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-djot" Fri Dec 5 16:55:46 2025 rev:7 rq:1321133 version:0.1.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-djot/ghc-djot.changes 2025-10-05 17:51:24.299979508 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-djot.new.1939/ghc-djot.changes 2025-12-05 16:56:15.303427732 +0100 @@ -1,0 +2,10 @@ +Sun Nov 30 16:42:30 UTC 2025 - Peter Simons <[email protected]> + +- Update djot to version 0.1.2.4. + ## 0.1.2.4 -- 2025-11-30 + + * Ensure that `'95--'96` doesn't get parsed as singlequoted. + + * Properly handle bare `'}` for right single-quote (#12). + +------------------------------------------------------------------- Old: ---- djot-0.1.2.3.tar.gz New: ---- djot-0.1.2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-djot.spec ++++++ --- /var/tmp/diff_new_pack.3HCmgX/_old 2025-12-05 16:56:16.091460679 +0100 +++ /var/tmp/diff_new_pack.3HCmgX/_new 2025-12-05 16:56:16.095460846 +0100 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.2.3 +Version: 0.1.2.4 Release: 0 Summary: Parser and renderer for djot light markup syntax License: MIT ++++++ djot-0.1.2.3.tar.gz -> djot-0.1.2.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/djot-0.1.2.3/CHANGELOG.md new/djot-0.1.2.4/CHANGELOG.md --- old/djot-0.1.2.3/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/djot-0.1.2.4/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,11 @@ # Revision history for djot +## 0.1.2.4 -- 2025-11-30 + +* Ensure that `'95--'96` doesn't get parsed as singlequoted. + +* Properly handle bare `'}` for right single-quote (#12). + ## 0.1.2.3 -- 2025-09-27 * Fix swallowing of indentation in code under blockquote (#11). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/djot-0.1.2.3/djot.cabal new/djot-0.1.2.4/djot.cabal --- old/djot-0.1.2.3/djot.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/djot-0.1.2.4/djot.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: 3.0 name: djot -version: 0.1.2.3 +version: 0.1.2.4 synopsis: Parser and renderer for djot light markup syntax. description: Djot (<https://djot.net>) is a light markup language. This package provides a data structure to represent diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/djot-0.1.2.3/src/Djot/Inlines.hs new/djot-0.1.2.4/src/Djot/Inlines.hs --- old/djot-0.1.2.3/src/Djot/Inlines.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/djot-0.1.2.4/src/Djot/Inlines.hs 2001-09-09 03:46:40.000000000 +0200 @@ -8,7 +8,7 @@ ) where -import Data.Char (isAscii, isLetter, isAlphaNum, isSymbol, isPunctuation) +import Data.Char (isAscii, isAlphaNum, isSymbol, isPunctuation) import Control.Monad (guard, when, mzero) import Data.Sequence (Seq) import qualified Data.Sequence as Seq @@ -480,8 +480,8 @@ lbrace <- (True <$ asciiChar '{') <|> pure False asciiChar '\'' rbrace <- (True <$ asciiChar '}') <|> pure False - letterAfter <- (True <$ lookahead (satisfy isLetter)) <|> pure False - guard $ not lbrace && (rbrace || not (whitespaceBefore || letterAfter)) + alphaNumAfter <- (True <$ lookahead (satisfy isAlphaNum)) <|> pure False + guard $ not lbrace && (rbrace || not (whitespaceBefore || alphaNumAfter)) pSingleQuote :: P Inlines pSingleQuote = (do @@ -489,7 +489,7 @@ contents <- mconcat <$> many (fails pCloseSingleQuote *> pInline) (singleQuoted contents <$ pCloseSingleQuote) <|> pure (closeSingleQuote <> contents)) - <|> (closeSingleQuote <$ asciiChar '\'') + <|> (closeSingleQuote <$ (pCloseSingleQuote <|> asciiChar '\'')) closeSingleQuote :: Inlines closeSingleQuote = str "\226\128\153" -- utf8 0x2019 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/djot-0.1.2.3/test/regression.test new/djot-0.1.2.4/test/regression.test --- old/djot-0.1.2.3/test/regression.test 2001-09-09 03:46:40.000000000 +0200 +++ new/djot-0.1.2.4/test/regression.test 2001-09-09 03:46:40.000000000 +0200 @@ -206,4 +206,12 @@ } </code></pre> </blockquote> -``` \ No newline at end of file +``` + +Issue #12: + +``` +I like the Lemon Jelly album titled '}64–'}95. +. +<p>I like the Lemon Jelly album titled ’64–’95.</p> +```
