Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package texmath for openSUSE:Factory checked 
in at 2021-08-25 20:57:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texmath (Old)
 and      /work/SRC/openSUSE:Factory/.texmath.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "texmath"

Wed Aug 25 20:57:39 2021 rev:44 rq:912763 version:0.12.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/texmath/texmath.changes  2021-06-01 
10:40:37.393135994 +0200
+++ /work/SRC/openSUSE:Factory/.texmath.new.1899/texmath.changes        
2021-08-25 20:58:54.897105521 +0200
@@ -1,0 +2,11 @@
+Mon Aug 16 07:24:01 UTC 2021 - [email protected]
+
+- Update texmath to version 0.12.3.1.
+  texmath (0.12.3.1)
+
+    * MathML reader: don't allow mfenced attributes to inherit (#177).
+      When open and close attributes aren't given on an mfenced,
+      we should use defaults rather than inheriting these from a
+      parent mfenced.
+
+-------------------------------------------------------------------

Old:
----
  texmath-0.12.3.tar.gz

New:
----
  texmath-0.12.3.1.tar.gz

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

Other differences:
------------------
++++++ texmath.spec ++++++
--- /var/tmp/diff_new_pack.Fi8gao/_old  2021-08-25 20:58:55.429104823 +0200
+++ /var/tmp/diff_new_pack.Fi8gao/_new  2021-08-25 20:58:55.433104818 +0200
@@ -19,7 +19,7 @@
 %global pkg_name texmath
 %bcond_with tests
 Name:           %{pkg_name}
-Version:        0.12.3
+Version:        0.12.3.1
 Release:        0
 Summary:        Conversion between formats used to represent mathematics
 License:        GPL-2.0-or-later

++++++ texmath-0.12.3.tar.gz -> texmath-0.12.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/texmath-0.12.3/changelog 
new/texmath-0.12.3.1/changelog
--- old/texmath-0.12.3/changelog        2021-05-12 21:33:57.000000000 +0200
+++ new/texmath-0.12.3.1/changelog      2021-08-13 21:48:02.000000000 +0200
@@ -1,3 +1,10 @@
+texmath (0.12.3.1)
+
+  * MathML reader: don't allow mfenced attributes to inherit (#177).
+    When open and close attributes aren't given on an mfenced,
+    we should use defaults rather than inheriting these from a
+    parent mfenced.
+
 texmath (0.12.3)
 
   * TeX reader: implement logic to convert a Bin symbol to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/texmath-0.12.3/src/Text/TeXMath/Readers/MathML.hs 
new/texmath-0.12.3.1/src/Text/TeXMath/Readers/MathML.hs
--- old/texmath-0.12.3/src/Text/TeXMath/Readers/MathML.hs       2021-05-12 
21:27:44.000000000 +0200
+++ new/texmath-0.12.3.1/src/Text/TeXMath/Readers/MathML.hs     2021-08-13 
21:44:40.000000000 +0200
@@ -472,17 +472,17 @@
 multiscripts :: Element -> MML Exp
 multiscripts e = do
   let (xs, pres) = break ((== "mprescripts") . name) (elChildren e)
-  let row' e' = if name e' == "none"
-                   then return $ EGrouped []
-                   else row e'
-  xs' <- mapM row' xs
+  let row'' e' = if name e' == "none"
+                    then return $ EGrouped []
+                    else row e'
+  xs' <- mapM row'' xs
   let base =
         case xs' of
           [x]       -> x
           [x,y]     -> ESub x y
           (x:y:z:_) -> ESubsup x y z
           []        -> EGrouped []
-  pres' <- mapM row' $ drop 1 pres
+  pres' <- mapM row'' $ drop 1 pres
   return $
     case pres' of
         (x:y:_) -> EGrouped [ESubsup (EGrouped []) x y, base]
@@ -598,7 +598,11 @@
 -- Kept as String for Text.XML.Light
 findAttrQ :: String -> Element -> MML (Maybe T.Text)
 findAttrQ s e = do
-  inherit <- asks (lookupAttrQ s . attrs)
+  inherit <- case (name e, s) of
+            ("mfenced", "open") -> return Nothing
+            ("mfenced", "close") -> return Nothing
+            ("mfenced", "separators") -> return Nothing
+            _ -> asks (lookupAttrQ s . attrs)
   return $ fmap T.pack $
     findAttr (QName s Nothing Nothing) e
       <|> inherit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/texmath-0.12.3/texmath.cabal 
new/texmath-0.12.3.1/texmath.cabal
--- old/texmath-0.12.3/texmath.cabal    2021-05-12 21:31:24.000000000 +0200
+++ new/texmath-0.12.3.1/texmath.cabal  2021-08-13 21:48:10.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                texmath
-Version:             0.12.3
+Version:             0.12.3.1
 Cabal-Version:       >= 1.10
 Build-type:          Simple
 Synopsis:            Conversion between formats used to represent mathematics.

Reply via email to