Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-skylighting-format-blaze-html 
for openSUSE:Factory checked in at 2026-06-10 16:06:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-skylighting-format-blaze-html (Old)
 and      
/work/SRC/openSUSE:Factory/.ghc-skylighting-format-blaze-html.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-skylighting-format-blaze-html"

Wed Jun 10 16:06:09 2026 rev:6 rq:1358438 version:0.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-skylighting-format-blaze-html/ghc-skylighting-format-blaze-html.changes
      2024-12-20 23:11:49.579455475 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-skylighting-format-blaze-html.new.2375/ghc-skylighting-format-blaze-html.changes
    2026-06-10 16:10:10.811053978 +0200
@@ -1,0 +2,10 @@
+Sun Feb  1 15:34:15 UTC 2026 - Peter Simons <[email protected]>
+
+- Update skylighting-format-blaze-html to version 0.1.2.
+  ## 0.1.2
+
+    * Include container classes on inline code. In block code,
+      these are put on the pre, but in inline code there is only a
+      code element; they should not just be dropped. See jgm/pandoc#11423.
+
+-------------------------------------------------------------------

Old:
----
  skylighting-format-blaze-html-0.1.1.3.tar.gz

New:
----
  skylighting-format-blaze-html-0.1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-skylighting-format-blaze-html.spec ++++++
--- /var/tmp/diff_new_pack.qx4dzi/_old  2026-06-10 16:10:12.955142830 +0200
+++ /var/tmp/diff_new_pack.qx4dzi/_new  2026-06-10 16:10:12.955142830 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-skylighting-format-blaze-html
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 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 skylighting-format-blaze-html
 %global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        0.1.1.3
+Version:        0.1.2
 Release:        0
 Summary:        HTML formatter for skylighting syntax highlighting library
 License:        BSD-3-Clause

++++++ skylighting-format-blaze-html-0.1.1.3.tar.gz -> 
skylighting-format-blaze-html-0.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/skylighting-format-blaze-html-0.1.1.3/changelog.md 
new/skylighting-format-blaze-html-0.1.2/changelog.md
--- old/skylighting-format-blaze-html-0.1.1.3/changelog.md      2001-09-09 
03:46:40.000000000 +0200
+++ new/skylighting-format-blaze-html-0.1.2/changelog.md        2001-09-09 
03:46:40.000000000 +0200
@@ -1,5 +1,11 @@
 # Changelog for skylighting-format-blaze-html
 
+## 0.1.2
+
+  * Include container classes on inline code. In block code,
+    these are put on the pre, but in inline code there is only a
+    code element; they should not just be dropped. See jgm/pandoc#11423.
+
 ## 0.1.1.3
 
   * Use `-webkit-text-size-adjust` instead of unsetting
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/skylighting-format-blaze-html-0.1.1.3/skylighting-format-blaze-html.cabal 
new/skylighting-format-blaze-html-0.1.2/skylighting-format-blaze-html.cabal
--- 
old/skylighting-format-blaze-html-0.1.1.3/skylighting-format-blaze-html.cabal   
    2001-09-09 03:46:40.000000000 +0200
+++ new/skylighting-format-blaze-html-0.1.2/skylighting-format-blaze-html.cabal 
2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:                skylighting-format-blaze-html
-version:             0.1.1.3
+version:             0.1.2
 synopsis:            HTML formatter for skylighting syntax highlighting library
 description:         This module allows tokens produced by skylighting-core
                      to be rendered as HTML.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/skylighting-format-blaze-html-0.1.1.3/src/Skylighting/Format/HTML.hs 
new/skylighting-format-blaze-html-0.1.2/src/Skylighting/Format/HTML.hs
--- old/skylighting-format-blaze-html-0.1.1.3/src/Skylighting/Format/HTML.hs    
2001-09-09 03:46:40.000000000 +0200
+++ new/skylighting-format-blaze-html-0.1.2/src/Skylighting/Format/HTML.hs      
2001-09-09 03:46:40.000000000 +0200
@@ -10,6 +10,7 @@
 import Data.List (intersperse, sort)
 import qualified Data.Map as Map
 import qualified Data.Text as Text
+import Data.Containers.ListUtils (nubOrd)
 import Skylighting.Types
 import Text.Blaze.Html
 import qualified Text.Blaze.Html5 as H
@@ -54,7 +55,8 @@
 -- 'WarningTok'        = @wa@.
 -- A 'NormalTok' is not marked up at all.
 formatHtmlInline :: FormatOptions -> [SourceLine] -> Html
-formatHtmlInline opts = wrapCode opts
+formatHtmlInline opts = wrapCode opts{ codeClasses = nubOrd $ codeClasses opts 
++
+                                                     containerClasses opts }
                       . mconcat . intersperse (toHtml "\n")
                       . map (mapM_ (tokenToHtml opts))
 
@@ -90,8 +92,9 @@
 
 wrapCode :: FormatOptions -> Html -> Html
 wrapCode opts h = H.code ! A.class_ (toValue $ Text.unwords
-                                             $ Text.pack "sourceCode"
-                                               : codeClasses opts)
+                                               (Text.pack "sourceCode"
+                                                 : filter (/= Text.pack 
"sourceCode")
+                                                   (codeClasses opts)))
                          !? (startZero /= 0, A.style (toValue counterOverride))
                          $ h
   where  counterOverride = "counter-reset: source-line " <> show startZero <> 
";"

Reply via email to