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 2024-07-22 17:16:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-djot (Old) and /work/SRC/openSUSE:Factory/.ghc-djot.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-djot" Mon Jul 22 17:16:17 2024 rev:4 rq:1188636 version:0.1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-djot/ghc-djot.changes 2024-05-21 18:35:15.099776418 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-djot.new.17339/ghc-djot.changes 2024-07-22 17:17:05.063080958 +0200 @@ -1,0 +2,9 @@ +Mon Jun 24 18:30:00 UTC 2024 - Peter Simons <psim...@suse.com> + +- Update djot to version 0.1.2.1. + ## 0.1.2.1 -- 2024-06-24 + + * Djot writer: include separator line in table when the table has + non-default alignments but no header (#7). + +------------------------------------------------------------------- Old: ---- djot-0.1.2.tar.gz New: ---- djot-0.1.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-djot.spec ++++++ --- /var/tmp/diff_new_pack.S2Dg4Z/_old 2024-07-22 17:17:05.919114990 +0200 +++ /var/tmp/diff_new_pack.S2Dg4Z/_new 2024-07-22 17:17:05.923115148 +0200 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.2 +Version: 0.1.2.1 Release: 0 Summary: Parser and renderer for djot light markup syntax License: MIT ++++++ djot-0.1.2.tar.gz -> djot-0.1.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/djot-0.1.2/CHANGELOG.md new/djot-0.1.2.1/CHANGELOG.md --- old/djot-0.1.2/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/djot-0.1.2.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,10 @@ # Revision history for djot +## 0.1.2.1 -- 2024-06-24 + +* Djot writer: include separator line in table when the table has + non-default alignments but no header (#7). + ## 0.1.2 -- 2024-05-10 * Allow `_` in symbols (see jgm/djot#296). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/djot-0.1.2/djot.cabal new/djot-0.1.2.1/djot.cabal --- old/djot-0.1.2/djot.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/djot-0.1.2.1/djot.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: 3.0 name: djot -version: 0.1.2 +version: 0.1.2.1 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/src/Djot/Djot.hs new/djot-0.1.2.1/src/Djot/Djot.hs --- old/djot-0.1.2/src/Djot/Djot.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/djot-0.1.2.1/src/Djot/Djot.hs 2001-09-09 03:46:40.000000000 +0200 @@ -287,6 +287,10 @@ AlignRight -> T.replicate (width + 1) "-" <> ":" AlignCenter -> ":" <> T.replicate width "-" <> ":" AlignDefault -> T.replicate width "-" + let initialSep = case rowContents of + cells@(((BodyCell,al),_):_):_ | al /= AlignDefault + -> mkLines (zipWith toUnderline colwidths cells) + _ -> mempty let toRow cells = let isHeader = case cells of ((HeadCell,_),_) : _ -> True @@ -296,7 +300,7 @@ if isHeader then mkLines (zipWith toUnderline colwidths cells) else mempty - pure $ vcat $ map toRow rowContents + pure $ initialSep $$ vcat (map toRow rowContents) toDefinitionListItem :: (Inlines, Blocks) -> State BState (Layout.Doc Text) toDefinitionListItem (term, def) = do