Hello community,

here is the log from the commit of package python3-mistune for openSUSE:Factory 
checked in at 2016-07-05 09:53:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-mistune (Old)
 and      /work/SRC/openSUSE:Factory/.python3-mistune.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-mistune"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-mistune/python3-mistune.changes  
2016-06-02 09:36:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-mistune.new/python3-mistune.changes     
2016-07-05 09:53:13.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Jul  4 16:34:41 UTC 2016 - [email protected]
+
+- update to version 0.7.3:
+  * Fix strikethrough regex
+  * Fix HTML attribute regex
+  * Fix close tag regex
+
+-------------------------------------------------------------------
@@ -6 +13,0 @@
-

Old:
----
  mistune-0.7.2.tar.gz

New:
----
  mistune-0.7.3.tar.gz

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

Other differences:
------------------
++++++ python3-mistune.spec ++++++
--- /var/tmp/diff_new_pack.YBHwO6/_old  2016-07-05 09:53:13.000000000 +0200
+++ /var/tmp/diff_new_pack.YBHwO6/_new  2016-07-05 09:53:13.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-mistune
-Version:        0.7.2
+Version:        0.7.3
 Release:        0
 Summary:        The fastest markdown parser in pure Python
 License:        BSD-3-Clause

++++++ mistune-0.7.2.tar.gz -> mistune-0.7.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.7.2/CHANGES.rst 
new/mistune-0.7.3/CHANGES.rst
--- old/mistune-0.7.2/CHANGES.rst       2016-02-26 02:41:10.000000000 +0100
+++ new/mistune-0.7.3/CHANGES.rst       2016-06-29 16:34:33.000000000 +0200
@@ -3,9 +3,20 @@
 
 Here is the full history of mistune.
 
+Version 0.7.3
+~~~~~~~~~~~~~
+
+Released on Jun. 28, 2016
+
+* Fix strikethrough regex
+* Fix HTML attribute regex
+* Fix close tag regex
+
 Version 0.7.2
 ~~~~~~~~~~~~~
 
+Released on Feb. 26, 2016
+
 * Fix `hard_wrap` options on renderer.
 * Fix emphasis regex pattern
 * Fix base64 image link `#80`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.7.2/PKG-INFO new/mistune-0.7.3/PKG-INFO
--- old/mistune-0.7.2/PKG-INFO  2016-02-26 02:43:24.000000000 +0100
+++ new/mistune-0.7.3/PKG-INFO  2016-06-29 16:34:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mistune
-Version: 0.7.2
+Version: 0.7.3
 Summary: The fastest markdown parser in pure Python
 Home-page: https://github.com/lepture/mistune
 Author: Hsiaoming Yang
@@ -12,6 +12,9 @@
         The fastest markdown parser in pure Python with renderer features,
         inspired by marked_.
         
+        .. image:: https://img.shields.io/badge/donate-lepture-green.svg
+           :target: 
https://lepture.herokuapp.com/?amount=1000&reason=lepture%2Fmistune
+           :alt: Donate lepture
         .. image:: https://img.shields.io/pypi/wheel/mistune.svg?style=flat
            :target: https://pypi.python.org/pypi/mistune/
            :alt: Wheel Status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.7.2/README.rst new/mistune-0.7.3/README.rst
--- old/mistune-0.7.2/README.rst        2015-11-08 09:30:41.000000000 +0100
+++ new/mistune-0.7.3/README.rst        2016-06-29 16:34:33.000000000 +0200
@@ -4,6 +4,9 @@
 The fastest markdown parser in pure Python with renderer features,
 inspired by marked_.
 
+.. image:: https://img.shields.io/badge/donate-lepture-green.svg
+   :target: https://lepture.herokuapp.com/?amount=1000&reason=lepture%2Fmistune
+   :alt: Donate lepture
 .. image:: https://img.shields.io/pypi/wheel/mistune.svg?style=flat
    :target: https://pypi.python.org/pypi/mistune/
    :alt: Wheel Status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.7.2/mistune.egg-info/PKG-INFO 
new/mistune-0.7.3/mistune.egg-info/PKG-INFO
--- old/mistune-0.7.2/mistune.egg-info/PKG-INFO 2016-02-26 02:43:22.000000000 
+0100
+++ new/mistune-0.7.3/mistune.egg-info/PKG-INFO 2016-06-29 16:34:45.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mistune
-Version: 0.7.2
+Version: 0.7.3
 Summary: The fastest markdown parser in pure Python
 Home-page: https://github.com/lepture/mistune
 Author: Hsiaoming Yang
@@ -12,6 +12,9 @@
         The fastest markdown parser in pure Python with renderer features,
         inspired by marked_.
         
+        .. image:: https://img.shields.io/badge/donate-lepture-green.svg
+           :target: 
https://lepture.herokuapp.com/?amount=1000&reason=lepture%2Fmistune
+           :alt: Donate lepture
         .. image:: https://img.shields.io/pypi/wheel/mistune.svg?style=flat
            :target: https://pypi.python.org/pypi/mistune/
            :alt: Wheel Status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.7.2/mistune.py new/mistune-0.7.3/mistune.py
--- old/mistune-0.7.2/mistune.py        2016-02-26 02:41:36.000000000 +0100
+++ new/mistune-0.7.3/mistune.py        2016-06-29 16:34:33.000000000 +0200
@@ -11,7 +11,7 @@
 import re
 import inspect
 
-__version__ = '0.7.2'
+__version__ = '0.7.3'
 __author__ = 'Hsiaoming Yang <[email protected]>'
 __all__ = [
     'BlockGrammar', 'BlockLexer',
@@ -35,7 +35,7 @@
 ]
 _pre_tags = ['pre', 'script', 'style']
 _valid_end = r'(?!:/|[^\w\s@]*@)\b'
-_valid_attr = r'''"[^"]*"|'[^']*'|[^'">]'''
+_valid_attr = r'''\s*[a-zA-Z\-](?:\=(?:"[^"]*"|'[^']*'))*'''
 _block_tag = r'(?!(?:%s)\b)\w+%s' % ('|'.join(_inline_tags), _valid_end)
 _scheme_blacklist = ('javascript', 'data', 'vbscript')
 
@@ -160,7 +160,7 @@
         r'^ *(?:%s|%s|%s) *(?:\n{2,}|\s*$)' % (
             r'<!--[\s\S]*?-->',
             r'<(%s)((?:%s)*?)>([\s\S]+?)<\/\1>' % (_block_tag, _valid_attr),
-            r'<%s(?:%s)*?>' % (_block_tag, _valid_attr),
+            r'<%s(?:%s)*?\s*\/?>' % (_block_tag, _valid_attr),
         )
     )
     table = re.compile(
@@ -450,7 +450,7 @@
         r'^(?:%s|%s|%s)' % (
             r'<!--[\s\S]*?-->',
             r'<(\w+%s)((?:%s)*?)>([\s\S]*?)<\/\1>' % (_valid_end, _valid_attr),
-            r'<\w+%s(?:%s)*?>' % (_valid_end, _valid_attr),
+            r'<\w+%s(?:%s)*?\s*\/?>' % (_valid_end, _valid_attr),
         )
     )
     autolink = re.compile(r'^<([^ >]+(@|:)[^ >]+)>')
@@ -480,7 +480,7 @@
     )
     code = re.compile(r'^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)')  # `code`
     linebreak = re.compile(r'^ {2,}\n(?!\s*$)')
-    strikethrough = re.compile(r'^~~(?=\S)([\s\S]+?\S)~~')  # ~~word~~
+    strikethrough = re.compile(r'^~~(?=\S)([\s\S]*?\S)~~')  # ~~word~~
     footnote = re.compile(r'^\[\^([^\]]+)\]')
     text = re.compile(r'^[\s\S]+?(?=[\\<!\[_*`~]|https?://| {2,}\n|$)')
 
@@ -574,7 +574,8 @@
         return output
 
     def output_escape(self, m):
-        return m.group(1)
+        text = m.group(1)
+        return self.renderer.escape(text)
 
     def output_autolink(self, m):
         link = m.group(1)
@@ -833,6 +834,13 @@
 
         :param text: text content.
         """
+        return escape(text)
+
+    def escape(self, text):
+        """Rendering escape sequence.
+
+        :param text: text content.
+        """
         return escape(text)
 
     def autolink(self, link, is_email=False):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mistune-0.7.2/tests/fixtures/extra/escaped_angles.html 
new/mistune-0.7.3/tests/fixtures/extra/escaped_angles.html
--- old/mistune-0.7.2/tests/fixtures/extra/escaped_angles.html  2014-10-11 
04:12:04.000000000 +0200
+++ new/mistune-0.7.3/tests/fixtures/extra/escaped_angles.html  2016-06-29 
16:34:33.000000000 +0200
@@ -1 +1 @@
-<p>></p>
+<p>&gt;</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.7.2/tests/fixtures/extra/gfm_del.html 
new/mistune-0.7.3/tests/fixtures/extra/gfm_del.html
--- old/mistune-0.7.2/tests/fixtures/extra/gfm_del.html 2014-10-11 
04:12:04.000000000 +0200
+++ new/mistune-0.7.3/tests/fixtures/extra/gfm_del.html 2016-05-22 
17:00:13.000000000 +0200
@@ -1 +1 @@
-<p>hello <del>hi</del> world</p>
+<p>hello <del>hi</del> world <del>how</del> are <del>you</del> ~~ today~~?</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.7.2/tests/fixtures/extra/gfm_del.text 
new/mistune-0.7.3/tests/fixtures/extra/gfm_del.text
--- old/mistune-0.7.2/tests/fixtures/extra/gfm_del.text 2014-10-11 
04:12:04.000000000 +0200
+++ new/mistune-0.7.3/tests/fixtures/extra/gfm_del.text 2016-05-22 
17:00:13.000000000 +0200
@@ -1 +1 @@
-hello ~~hi~~ world
+hello ~~hi~~ world ~~how~~ are ~~you~~ ~~ today~~?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mistune-0.7.2/tests/fixtures/normal/backslash_escapes.html 
new/mistune-0.7.3/tests/fixtures/normal/backslash_escapes.html
--- old/mistune-0.7.2/tests/fixtures/normal/backslash_escapes.html      
2014-10-11 04:12:04.000000000 +0200
+++ new/mistune-0.7.3/tests/fixtures/normal/backslash_escapes.html      
2016-06-29 16:34:33.000000000 +0200
@@ -20,7 +20,7 @@
 
 <p>Right paren: )</p>
 
-<p>Greater-than: ></p>
+<p>Greater-than: &gt;</p>
 
 <p>Hash: #</p>
 


Reply via email to