Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2019-03-08 11:59:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and      /work/SRC/openSUSE:Factory/.python-mistune.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mistune"

Fri Mar  8 11:59:03 2019 rev:7 rq:681218 version:0.8.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes    
2018-01-26 13:36:25.313919276 +0100
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.28833/python-mistune.changes 
2019-03-08 11:59:04.695978501 +0100
@@ -1,0 +2,19 @@
+Mon Mar  4 08:56:53 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Drop the cython dependencies and mark package as noach:
+  * Upstream dropped the cython code
+
+-------------------------------------------------------------------
+Sat Mar  2 04:51:06 UTC 2019 - Arun Persaud <a...@gmx.de>
+
+- specfile:
+  * update copyright year
+
+- update to version 0.8.4:
+  * Support an escaped pipe char in a table cell. #150
+  * Fix ordered and unordered list. #152
+  * Fix spaces between = in HTML tags
+  * Add max_recursive_depth for list and blockquote.
+  * Fix fences code block.
+
+-------------------------------------------------------------------

Old:
----
  mistune-0.8.3.tar.gz

New:
----
  mistune-0.8.4.tar.gz

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

Other differences:
------------------
++++++ python-mistune.spec ++++++
--- /var/tmp/diff_new_pack.6CcUNG/_old  2019-03-08 11:59:05.615978345 +0100
+++ /var/tmp/diff_new_pack.6CcUNG/_new  2019-03-08 11:59:05.631978342 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mistune
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,24 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-mistune
-Version:        0.8.3
+Version:        0.8.4
 Release:        0
 Summary:        A markdown parser in pure Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/lepture/mistune
+URL:            https://github.com/lepture/mistune
 Source0:        
https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{version}.tar.gz
-BuildRequires:  %{python_module Cython}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -52,8 +49,11 @@
 %python_expand nosetests-%{$python_bin_suffix}
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc CHANGES.rst LICENSE README.rst
-%{python_sitearch}/*
+%license LICENSE
+%doc CHANGES.rst README.rst
+%{python_sitelib}/mistune.py*
+%pycache_only %{python3_sitelib}/__pycache__/*
+%dir %{python_sitelib}/mistune-%{version}-py*.egg-info
+%{python_sitelib}/mistune-%{version}-py*.egg-info/*
 
 %changelog

++++++ mistune-0.8.3.tar.gz -> mistune-0.8.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/CHANGES.rst 
new/mistune-0.8.4/CHANGES.rst
--- old/mistune-0.8.3/CHANGES.rst       2017-12-04 06:01:05.000000000 +0100
+++ new/mistune-0.8.4/CHANGES.rst       2018-10-11 08:48:38.000000000 +0200
@@ -3,6 +3,20 @@
 
 Here is the full history of mistune.
 
+Version 0.8.4
+~~~~~~~~~~~~~
+
+Released on Oct. 11, 2018
+
+* Support an escaped pipe char in a table cell. `#150`_
+* Fix ordered and unordered list. `#152`_
+* Fix spaces between = in HTML tags
+* Add max_recursive_depth for list and blockquote.
+* Fix fences code block.
+
+.. _`#150`: https://github.com/lepture/mistune/pull/150
+.. _`#152`: https://github.com/lepture/mistune/pull/152
+
 Version 0.8.3
 ~~~~~~~~~~~~~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/PKG-INFO new/mistune-0.8.4/PKG-INFO
--- old/mistune-0.8.3/PKG-INFO  2017-12-04 06:02:33.000000000 +0100
+++ new/mistune-0.8.4/PKG-INFO  2018-10-11 08:58:28.000000000 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: mistune
-Version: 0.8.3
+Version: 0.8.4
 Summary: The fastest markdown parser in pure Python
 Home-page: https://github.com/lepture/mistune
 Author: Hsiaoming Yang
 Author-email: m...@lepture.com
 License: BSD
-Description-Content-Type: UNKNOWN
 Description: Mistune
         =======
         
@@ -14,7 +13,7 @@
         inspired by marked_.
         
         .. image:: https://img.shields.io/badge/donate-lepture-green.svg
-           :target: 
https://typlog.com/donate?amount=10&reason=lepture%2Fmistune
+           :target: https://lepture.com/donate
            :alt: Donate lepture
         .. image:: https://img.shields.io/pypi/wheel/mistune.svg?style=flat
            :target: https://pypi.python.org/pypi/mistune/
@@ -41,7 +40,7 @@
         Features
         --------
         
-        * **Pure Python**. Tested in Python 2.6+, Python 3.3+ and PyPy.
+        * **Pure Python**. Tested in Python 2.7, Python 3.5+ and PyPy.
         * **Very Fast**. It is the fastest in all **pure Python** markdown 
parsers.
         * **More Features**. Table, footnotes, autolink, fenced code etc.
         
@@ -272,10 +271,12 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Text Processing :: Markup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/README.rst new/mistune-0.8.4/README.rst
--- old/mistune-0.8.3/README.rst        2017-09-14 08:31:47.000000000 +0200
+++ new/mistune-0.8.4/README.rst        2018-10-11 08:35:22.000000000 +0200
@@ -5,7 +5,7 @@
 inspired by marked_.
 
 .. image:: https://img.shields.io/badge/donate-lepture-green.svg
-   :target: https://typlog.com/donate?amount=10&reason=lepture%2Fmistune
+   :target: https://lepture.com/donate
    :alt: Donate lepture
 .. image:: https://img.shields.io/pypi/wheel/mistune.svg?style=flat
    :target: https://pypi.python.org/pypi/mistune/
@@ -32,7 +32,7 @@
 Features
 --------
 
-* **Pure Python**. Tested in Python 2.6+, Python 3.3+ and PyPy.
+* **Pure Python**. Tested in Python 2.7, Python 3.5+ and PyPy.
 * **Very Fast**. It is the fastest in all **pure Python** markdown parsers.
 * **More Features**. Table, footnotes, autolink, fenced code etc.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/mistune.egg-info/PKG-INFO 
new/mistune-0.8.4/mistune.egg-info/PKG-INFO
--- old/mistune-0.8.3/mistune.egg-info/PKG-INFO 2017-12-04 06:02:33.000000000 
+0100
+++ new/mistune-0.8.4/mistune.egg-info/PKG-INFO 2018-10-11 08:58:28.000000000 
+0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: mistune
-Version: 0.8.3
+Version: 0.8.4
 Summary: The fastest markdown parser in pure Python
 Home-page: https://github.com/lepture/mistune
 Author: Hsiaoming Yang
 Author-email: m...@lepture.com
 License: BSD
-Description-Content-Type: UNKNOWN
 Description: Mistune
         =======
         
@@ -14,7 +13,7 @@
         inspired by marked_.
         
         .. image:: https://img.shields.io/badge/donate-lepture-green.svg
-           :target: 
https://typlog.com/donate?amount=10&reason=lepture%2Fmistune
+           :target: https://lepture.com/donate
            :alt: Donate lepture
         .. image:: https://img.shields.io/pypi/wheel/mistune.svg?style=flat
            :target: https://pypi.python.org/pypi/mistune/
@@ -41,7 +40,7 @@
         Features
         --------
         
-        * **Pure Python**. Tested in Python 2.6+, Python 3.3+ and PyPy.
+        * **Pure Python**. Tested in Python 2.7, Python 3.5+ and PyPy.
         * **Very Fast**. It is the fastest in all **pure Python** markdown 
parsers.
         * **More Features**. Table, footnotes, autolink, fenced code etc.
         
@@ -272,10 +271,12 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Text Processing :: Markup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/mistune.egg-info/SOURCES.txt 
new/mistune-0.8.4/mistune.egg-info/SOURCES.txt
--- old/mistune-0.8.3/mistune.egg-info/SOURCES.txt      2017-12-04 
06:02:33.000000000 +0100
+++ new/mistune-0.8.4/mistune.egg-info/SOURCES.txt      2018-10-11 
08:58:28.000000000 +0200
@@ -45,6 +45,8 @@
 tests/fixtures/extra/gfm_tables.text
 tests/fixtures/extra/gfm_tables_uneven.html
 tests/fixtures/extra/gfm_tables_uneven.text
+tests/fixtures/extra/hetero_list.html
+tests/fixtures/extra/hetero_list.text
 tests/fixtures/extra/hr_list_break.html
 tests/fixtures/extra/hr_list_break.text
 tests/fixtures/extra/lazy_blockquotes.html
@@ -55,10 +57,14 @@
 tests/fixtures/extra/loose_lists.text
 tests/fixtures/extra/main.html
 tests/fixtures/extra/main.text
+tests/fixtures/extra/nested_blockquotes.html
+tests/fixtures/extra/nested_blockquotes.text
 tests/fixtures/extra/nested_code.html
 tests/fixtures/extra/nested_code.text
 tests/fixtures/extra/nested_em.html
 tests/fixtures/extra/nested_em.text
+tests/fixtures/extra/nested_list.html
+tests/fixtures/extra/nested_list.text
 tests/fixtures/extra/nested_square_link.html
 tests/fixtures/extra/nested_square_link.text
 tests/fixtures/extra/not_a_link.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/mistune.py new/mistune-0.8.4/mistune.py
--- old/mistune-0.8.3/mistune.py        2017-12-04 06:00:00.000000000 +0100
+++ new/mistune-0.8.4/mistune.py        2018-10-11 08:48:55.000000000 +0200
@@ -5,13 +5,13 @@
 
     The fastest markdown parser in pure Python with renderer feature.
 
-    :copyright: (c) 2014 - 2017 by Hsiaoming Yang.
+    :copyright: (c) 2014 - 2018 by Hsiaoming Yang.
 """
 
 import re
 import inspect
 
-__version__ = '0.8.3'
+__version__ = '0.8.4'
 __author__ = 'Hsiaoming Yang <m...@lepture.com>'
 __all__ = [
     'BlockGrammar', 'BlockLexer',
@@ -35,7 +35,7 @@
 ]
 _pre_tags = ['pre', 'script', 'style']
 _valid_end = r'(?!:/|[^\w\s@]*@)\b'
-_valid_attr = r'''\s*[a-zA-Z\-](?:\=(?:"[^"]*"|'[^']*'|[^\s'">]+))?'''
+_valid_attr = r'''\s*[a-zA-Z\-](?:\s*\=\s*(?:"[^"]*"|'[^']*'|[^\s'">]+))?'''
 _block_tag = r'(?!(?:%s)\b)\w+%s' % ('|'.join(_inline_tags), _valid_end)
 _scheme_blacklist = ('javascript:', 'vbscript:')
 
@@ -109,7 +109,7 @@
     newline = re.compile(r'^\n+')
     block_code = re.compile(r'^( {4}[^\n]+\n*)+')
     fences = re.compile(
-        r'^ *(`{3,}|~{3,}) *(\S+)? *\n'  # ```lang
+        r'^ *(`{3,}|~{3,}) *([^`\s]+)? *\n'  # ```lang
         r'([\s\S]+?)\s*'
         r'\1 *(?:\n+|$)'  # ```
     )
@@ -118,11 +118,12 @@
     lheading = re.compile(r'^([^\n]+)\n *(=|-)+ *(?:\n+|$)')
     block_quote = re.compile(r'^( *>[^\n]+(\n[^\n]+)*\n*)+')
     list_block = re.compile(
-        r'^( *)([*+-]|\d+\.) [\s\S]+?'
+        r'^( *)(?=[*+-]|\d+\.)(([*+-])?(?:\d+\.)?) [\s\S]+?'
         r'(?:'
         r'\n+(?=\1?(?:[-*_] *){3,}(?:\n+|$))'  # hrule
         r'|\n+(?=%s)'  # def links
-        r'|\n+(?=%s)'  # def footnotes
+        r'|\n+(?=%s)'  # def footnotes\
+        r'|\n+(?=\1(?(3)\d+\.|[*+-]) )'   # heterogeneous bullet
         r'|\n{2,}'
         r'(?! )'
         r'(?!\1(?:[*+-]|\d+\.) )\n*'
@@ -200,6 +201,9 @@
             rules = self.grammar_class()
 
         self.rules = rules
+        self._max_recursive_depth = kwargs.get('max_recursive_depth', 6)
+        self._list_depth = 0
+        self._blockquote_depth = 0
 
     def __call__(self, text, rules=None):
         return self.parse(text, rules)
@@ -274,9 +278,16 @@
             'type': 'list_start',
             'ordered': '.' in bull,
         })
-        cap = m.group(0)
-        self._process_list_item(cap, bull)
+        self._list_depth += 1
+        if self._list_depth > self._max_recursive_depth:
+            self.tokens.append({'type': 'list_item_start'})
+            self.parse_text(m)
+            self.tokens.append({'type': 'list_item_end'})
+        else:
+            cap = m.group(0)
+            self._process_list_item(cap, bull)
         self.tokens.append({'type': 'list_end'})
+        self._list_depth -= 1
 
     def _process_list_item(self, cap, bull):
         cap = self.rules.list_item.findall(cap)
@@ -320,10 +331,15 @@
 
     def parse_block_quote(self, m):
         self.tokens.append({'type': 'block_quote_start'})
-        # clean leading >
-        cap = _block_quote_leading_pattern.sub('', m.group(0))
-        self.parse(cap)
+        self._blockquote_depth += 1
+        if self._blockquote_depth > self._max_recursive_depth:
+            self.parse_text(m)
+        else:
+            # clean leading >
+            cap = _block_quote_leading_pattern.sub('', m.group(0))
+            self.parse(cap)
         self.tokens.append({'type': 'block_quote_end'})
+        self._blockquote_depth -= 1
 
     def parse_def_links(self, m):
         key = _keyify(m.group(1))
@@ -373,9 +389,9 @@
         cells = cells.split('\n')
         for i, v in enumerate(cells):
             v = re.sub(r'^ *\| *| *\| *$', '', v)
-            cells[i] = re.split(r' *\| *', v)
+            cells[i] = re.split(r' *(?<!\\)\| *', v)
 
-        item['cells'] = cells
+        item['cells'] = self._process_cells(cells)
         self.tokens.append(item)
 
     def parse_nptable(self, m):
@@ -384,9 +400,9 @@
         cells = re.sub(r'\n$', '', m.group(3))
         cells = cells.split('\n')
         for i, v in enumerate(cells):
-            cells[i] = re.split(r' *\| *', v)
+            cells[i] = re.split(r' *(?<!\\)\| *', v)
 
-        item['cells'] = cells
+        item['cells'] = self._process_cells(cells)
         self.tokens.append(item)
 
     def _process_table(self, m):
@@ -412,6 +428,14 @@
         }
         return item
 
+    def _process_cells(self, cells):
+        for i, line in enumerate(cells):
+            for c, cell in enumerate(line):
+                # de-escape any pipe inside the cell here
+                cells[i][c] = re.sub('\\\\\|', '|', cell)
+
+        return cells
+
     def parse_block_html(self, m):
         tag = m.group(1)
         if not tag:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/setup.py new/mistune-0.8.4/setup.py
--- old/mistune-0.8.3/setup.py  2017-09-14 08:31:47.000000000 +0200
+++ new/mistune-0.8.4/setup.py  2018-10-11 08:57:07.000000000 +0200
@@ -1,86 +1,7 @@
 #!/usr/bin/env python
 # coding: utf-8
-from __future__ import print_function
-
-try:
-    # python setup.py test
-    import multiprocessing
-except ImportError:
-    pass
-
 import mistune
-from setuptools import setup, Extension
-
-cmdclass = {}
-
-try:
-    from Cython.Distutils import build_ext
-except ImportError:
-    have_cython = False
-else:
-    have_cython = True
-    import sys
-
-    # Failsafe compilation originally from simplejson. Author: Bob Ippolito
-    # Copied here from markupsafe
-    from distutils.errors import CCompilerError, DistutilsExecError
-    from distutils.errors import DistutilsPlatformError
-
-    is_jython = 'java' in sys.platform
-    is_pypy = hasattr(sys, 'pypy_version_info')
-
-    ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError)
-    if sys.platform == 'win32' and sys.version_info > (2, 6):
-        # 2.6's distutils.msvc9compiler can raise an IOError when failing to
-        # find the compiler
-        ext_errors += (IOError,)
-
-    class BuildFailed(Exception):
-        pass
-
-    class ve_build_ext(build_ext):
-        """This class allows C extension building to fail."""
-        def run(self):
-            try:
-                build_ext.run(self)
-            except DistutilsPlatformError:
-                raise BuildFailed()
-
-        def build_extension(self, ext):
-            try:
-                build_ext.build_extension(self, ext)
-            except ext_errors:
-                raise BuildFailed()
-            except ValueError as e:
-                # this can happen on Windows 64 bit, see Python issue 7511
-                if "'path'" in str(e):
-                    raise BuildFailed()
-                raise
-
-    cmdclass['build_ext'] = ve_build_ext
-
-# patch bdist_wheel
-try:
-    from wheel.bdist_wheel import bdist_wheel
-
-    REPLACE = (
-        'macosx_10_6_intel.'
-        'macosx_10_9_intel.'
-        'macosx_10_9_x86_64.'
-        'macosx_10_10_intel.'
-        'macosx_10_10_x86_64'
-    )
-
-    class _bdist_wheel(bdist_wheel):
-        def get_tag(self):
-            tag = bdist_wheel.get_tag(self)
-            if tag[2] == 'macosx_10_6_intel':
-                tag = (tag[0], tag[1], REPLACE)
-            return tag
-
-    cmdclass['bdist_wheel'] = _bdist_wheel
-except ImportError:
-    pass
+from setuptools import setup
 
 
 def fread(filepath):
@@ -88,63 +9,36 @@
         return f.read()
 
 
-def run_setup(with_binary):
-    ext_modules = [Extension('mistune', ['mistune.py'])] if with_binary else []
-    setup(
-        name='mistune',
-        version=mistune.__version__,
-        url='https://github.com/lepture/mistune',
-        author='Hsiaoming Yang',
-        author_email='m...@lepture.com',
-        description='The fastest markdown parser in pure Python',
-        long_description=fread('README.rst'),
-        license='BSD',
-        py_modules=['mistune'],
-        cmdclass=cmdclass,
-        ext_modules=ext_modules,
-        zip_safe=False,
-        platforms='any',
-        tests_require=['nose'],
-        test_suite='nose.collector',
-        classifiers=[
-            'Development Status :: 4 - Beta',
-            'Environment :: Web Environment',
-            'Intended Audience :: Developers',
-            'License :: OSI Approved :: BSD License',
-            'Operating System :: OS Independent',
-            'Programming Language :: Python',
-            'Programming Language :: Python :: 2.6',
-            'Programming Language :: Python :: 2.7',
-            'Programming Language :: Python :: 3.3',
-            'Programming Language :: Python :: 3.4',
-            'Programming Language :: Python :: Implementation :: CPython',
-            'Programming Language :: Python :: Implementation :: PyPy',
-            'Topic :: Text Processing :: Markup',
-            'Topic :: Software Development :: Libraries :: Python Modules'
-        ]
-    )
-
-
-def try_building_extension():
-    try:
-        run_setup(True)
-    except BuildFailed:
-        LINE = '=' * 74
-        BUILD_EXT_WARNING = 'WARNING: The C extension could not be ' \
-                            'compiled, speedups are not enabled.'
-        print(LINE)
-        print(BUILD_EXT_WARNING)
-        print('Failure information, if any, is above.')
-        print('Retrying the build without the C extension now.')
-        print()
-        run_setup(False)
-        print(LINE)
-        print(BUILD_EXT_WARNING)
-        print('Plain-Python installation succeeded.')
-        print(LINE)
-
-
-if have_cython and not(is_jython or is_pypy):
-    try_building_extension()
-else:
-    run_setup(False)
+setup(
+    name='mistune',
+    version=mistune.__version__,
+    url='https://github.com/lepture/mistune',
+    author='Hsiaoming Yang',
+    author_email='m...@lepture.com',
+    description='The fastest markdown parser in pure Python',
+    long_description=fread('README.rst'),
+    license='BSD',
+    py_modules=['mistune'],
+    zip_safe=False,
+    platforms='any',
+    tests_require=['nose'],
+    test_suite='nose.collector',
+    classifiers=[
+        'Development Status :: 4 - Beta',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: BSD License',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 2',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3',
+        'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: Implementation :: CPython',
+        'Programming Language :: Python :: Implementation :: PyPy',
+        'Topic :: Text Processing :: Markup',
+        'Topic :: Software Development :: Libraries :: Python Modules'
+    ]
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/fixtures/extra/gfm_tables.html 
new/mistune-0.8.4/tests/fixtures/extra/gfm_tables.html
--- old/mistune-0.8.3/tests/fixtures/extra/gfm_tables.html      2017-09-14 
08:31:47.000000000 +0200
+++ new/mistune-0.8.4/tests/fixtures/extra/gfm_tables.html      2018-10-11 
08:35:22.000000000 +0200
@@ -35,3 +35,12 @@
                <tr><td style="text-align:left"><em>Cell 5</em></td><td 
style="text-align:center">Cell 6</td><td style="text-align:right">Cell 
7</td><td>Cell 8</td></tr>
        </tbody>
 </table>
+<table>
+       <thead>
+               <tr><th>Header 1</th><th>Header 2</th></tr>
+       </thead>
+       <tbody>
+               <tr><td>Cell 1</td><td>Cell 2 with a pipe in <code>|</code> 
inline code</td></tr>
+               <tr><td>Cell 3</td><td>Cell 4 with escaped | pipe for some 
content</td></tr>
+       </tbody>
+</table>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/fixtures/extra/gfm_tables.text 
new/mistune-0.8.4/tests/fixtures/extra/gfm_tables.text
--- old/mistune-0.8.3/tests/fixtures/extra/gfm_tables.text      2017-09-14 
08:31:47.000000000 +0200
+++ new/mistune-0.8.4/tests/fixtures/extra/gfm_tables.text      2018-10-11 
08:35:22.000000000 +0200
@@ -19,3 +19,8 @@
 :-------|:------:|-------:|--------
 Cell 1  |Cell 2  |Cell 3  |Cell 4
 *Cell 5*|Cell 6  |Cell 7  |Cell 8
+
+Header 1 | Header 2
+-------- | --------------------------------------------
+Cell 1   | Cell 2 with a pipe in `\|` inline code
+Cell 3   | Cell 4 with escaped \| pipe for some content
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/fixtures/extra/hetero_list.html 
new/mistune-0.8.4/tests/fixtures/extra/hetero_list.html
--- old/mistune-0.8.3/tests/fixtures/extra/hetero_list.html     1970-01-01 
01:00:00.000000000 +0100
+++ new/mistune-0.8.4/tests/fixtures/extra/hetero_list.html     2018-10-11 
08:35:22.000000000 +0200
@@ -0,0 +1,16 @@
+<ol>
+    <li>foo</li>
+</ol>
+<ul>
+    <li>
+        bar
+        <ol>
+            <li>one</li>
+            <li>two</li>
+        </ol>
+        <ul>
+            <li>three</li>
+        </ul>
+    </li>
+    <li>foobar</li>
+</ul>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/fixtures/extra/hetero_list.text 
new/mistune-0.8.4/tests/fixtures/extra/hetero_list.text
--- old/mistune-0.8.3/tests/fixtures/extra/hetero_list.text     1970-01-01 
01:00:00.000000000 +0100
+++ new/mistune-0.8.4/tests/fixtures/extra/hetero_list.text     2018-10-11 
08:35:22.000000000 +0200
@@ -0,0 +1,6 @@
+1. foo
+- bar
+    1. one
+    2. two
+    * three
+- foobar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mistune-0.8.3/tests/fixtures/extra/nested_blockquotes.html 
new/mistune-0.8.4/tests/fixtures/extra/nested_blockquotes.html
--- old/mistune-0.8.3/tests/fixtures/extra/nested_blockquotes.html      
1970-01-01 01:00:00.000000000 +0100
+++ new/mistune-0.8.4/tests/fixtures/extra/nested_blockquotes.html      
2018-10-11 08:41:07.000000000 +0200
@@ -0,0 +1,21 @@
+<blockquote>
+  <p>a</p>
+  <blockquote>
+    <p>b</p>
+    <blockquote>
+      <p>c</p>
+      <blockquote>
+        <p>d</p>
+        <blockquote>
+          <p>e</p>
+          <blockquote>
+            <p>f</p>
+            <blockquote>
+              <p>&gt; g</p>
+            </blockquote>
+          </blockquote>
+        </blockquote>
+      </blockquote>
+    </blockquote>
+  </blockquote>
+</blockquote>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mistune-0.8.3/tests/fixtures/extra/nested_blockquotes.text 
new/mistune-0.8.4/tests/fixtures/extra/nested_blockquotes.text
--- old/mistune-0.8.3/tests/fixtures/extra/nested_blockquotes.text      
1970-01-01 01:00:00.000000000 +0100
+++ new/mistune-0.8.4/tests/fixtures/extra/nested_blockquotes.text      
2018-10-11 08:39:38.000000000 +0200
@@ -0,0 +1,7 @@
+> a
+> > b
+> > > c
+> > > > d
+> > > > > e
+> > > > > > f
+> > > > > > > g
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/fixtures/extra/nested_list.html 
new/mistune-0.8.4/tests/fixtures/extra/nested_list.html
--- old/mistune-0.8.3/tests/fixtures/extra/nested_list.html     1970-01-01 
01:00:00.000000000 +0100
+++ new/mistune-0.8.4/tests/fixtures/extra/nested_list.html     2018-10-11 
08:44:54.000000000 +0200
@@ -0,0 +1,27 @@
+<ul>
+  <li>a
+    <ul>
+      <li>b
+        <ul>
+          <li>c
+            <ul>
+              <li>d
+                <ul>
+                  <li>e
+                    <ul>
+                      <li>f
+                        <ul>
+                          <li>- g</li>
+                        </ul>
+                      </li>
+                    </ul>
+                  </li>
+                </ul>
+              </li>
+            </ul>
+          </li>
+        </ul>
+      </li>
+    </ul>
+  </li>
+</ul>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/fixtures/extra/nested_list.text 
new/mistune-0.8.4/tests/fixtures/extra/nested_list.text
--- old/mistune-0.8.3/tests/fixtures/extra/nested_list.text     1970-01-01 
01:00:00.000000000 +0100
+++ new/mistune-0.8.4/tests/fixtures/extra/nested_list.text     2018-10-11 
08:42:39.000000000 +0200
@@ -0,0 +1,7 @@
+- a
+  - b
+    - c
+      - d
+        - e
+          - f
+            - g
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/test_extra.py 
new/mistune-0.8.4/tests/test_extra.py
--- old/mistune-0.8.3/tests/test_extra.py       2017-12-04 05:59:07.000000000 
+0100
+++ new/mistune-0.8.4/tests/test_extra.py       2018-10-11 08:35:22.000000000 
+0200
@@ -23,7 +23,7 @@
         ('javascript:alert`1`', ''),
         # bypass attempt
         ('jAvAsCrIpT:alert`1`', ''),
-        # bypass with newline 
+        # bypass with newline
         ('javasc\nript:alert`1`', ''),
         # javascript pseudo protocol with entities
         ('javascript&colon;alert`1`', 'javascript&amp;colon;alert`1`'),
@@ -149,6 +149,9 @@
 def test_not_escape_inline_tags():
     text = '<a name="top"></a>'
     assert text in mistune.markdown(text, escape=False)
+    # space between =
+    text = '<span style = "color:red;">test</span>'
+    assert text in mistune.markdown(text, escape=False)
 
 
 def test_hard_wrap_renderer():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-0.8.3/tests/test_subclassing.py 
new/mistune-0.8.4/tests/test_subclassing.py
--- old/mistune-0.8.3/tests/test_subclassing.py 2017-09-14 08:31:47.000000000 
+0200
+++ new/mistune-0.8.4/tests/test_subclassing.py 2018-10-11 08:35:22.000000000 
+0200
@@ -9,7 +9,7 @@
 
 
 class MathBlockGrammar(mistune.BlockGrammar):
-    block_math = re.compile("^\$\$(.*?)\$\$", re.DOTALL)
+    block_math = re.compile(r'^\$\$(.*?)\$\$', re.DOTALL)
     latex_environment = re.compile(
         r"^\\begin\{([a-z]*\*?)\}(.*?)\\end\{\1\}",
         re.DOTALL
@@ -41,7 +41,7 @@
 
 
 class MathInlineGrammar(mistune.InlineGrammar):
-    math = re.compile("^\$(.+?)\$")
+    math = re.compile(r'^\$(.+?)\$')
     text = re.compile(r'^[\s\S]+?(?=[\\<!\[_*`~$]|https?://| {2,}\n|$)')
 
 


Reply via email to