<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests, branch 3.3.3</title>
<subtitle>github.com: waylan/Python-Markdown.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/'/>
<entry>
<title>Fix issues related to hr tags</title>
<updated>2020-10-25T01:34:51+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2020-10-25T01:34:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=11c9e179390ba4e3fbc5ed35b9af16ea93f7d5ca'/>
<id>11c9e179390ba4e3fbc5ed35b9af16ea93f7d5ca</id>
<content type='text'>
Ensure that start/end tag handler does not include tags in the previous
paragraph.

Provide special handling for tags like hr that never have content.

Use sets for block tag lists as they are much faster when comparing
if an item is in the list.

Fixes #1053.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that start/end tag handler does not include tags in the previous
paragraph.

Provide special handling for tags like hr that never have content.

Use sets for block tag lists as they are much faster when comparing
if an item is in the list.

Fixes #1053.</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid catastrophic backtracking in `hr` regex</title>
<updated>2020-10-24T21:36:53+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-10-24T21:22:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=18b17e1bf5efa22ed06f09df14cc4c3ff8d7b5f8'/>
<id>18b17e1bf5efa22ed06f09df14cc4c3ff8d7b5f8</id>
<content type='text'>
Fixes #1055.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1055.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure when tag text is None that it is converted to empty string</title>
<updated>2020-10-21T17:09:14+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2020-10-21T17:09:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=2a883a2931fd9cec63ec245c080760a15460a72c'/>
<id>2a883a2931fd9cec63ec245c080760a15460a72c</id>
<content type='text'>
Fixes #1049</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1049</pre>
</div>
</content>
</entry>
<entry>
<title>Properly parse inline HTML in md_in_html</title>
<updated>2020-10-19T18:07:45+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2020-10-19T18:07:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=2766698ac88ae9218d41b3ca1d9fbd4b4bd105e5'/>
<id>2766698ac88ae9218d41b3ca1d9fbd4b4bd105e5</id>
<content type='text'>
Fixes #1040 and fixes #1045.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1040 and fixes #1045.</pre>
</div>
</content>
</entry>
<entry>
<title>Account for Etree Elements in HTML Stash</title>
<updated>2020-10-14T19:21:44+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-10-14T17:48:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=607a091918004c4ca10fb621e53a09a00b8d299b'/>
<id>607a091918004c4ca10fb621e53a09a00b8d299b</id>
<content type='text'>
By calling str on all stash elements we ensure they don't raise an error.
Worse case, soemthing like `&lt;Element 'div' at 0x000001B2DAE94900&gt;` gets
inserted into the output. However, with the override in the md_in_html
extension, we actually serialize and reinsert the original HTML. Worse case,
an HTML block which should be parsed as Markdown gets skipped by the
extension (`&lt;div markdown="block"&gt;&lt;/div&gt;` gets inserting into the output).

The tricky part is testing as there should be no known cases where this
ever occurs. Therefore, we forefully pass an etree Element directly to
the method in the test. That said, as #1040 is unresolved at this point,
I have tested locally with a real existing case and it works well.

Related to #1040.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By calling str on all stash elements we ensure they don't raise an error.
Worse case, soemthing like `&lt;Element 'div' at 0x000001B2DAE94900&gt;` gets
inserted into the output. However, with the override in the md_in_html
extension, we actually serialize and reinsert the original HTML. Worse case,
an HTML block which should be parsed as Markdown gets skipped by the
extension (`&lt;div markdown="block"&gt;&lt;/div&gt;` gets inserting into the output).

The tricky part is testing as there should be no known cases where this
ever occurs. Therefore, we forefully pass an etree Element directly to
the method in the test. That said, as #1040 is unresolved at this point,
I have tested locally with a real existing case and it works well.

Related to #1040.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correctly parse raw `script` and `style` tags. (#1038)</title>
<updated>2020-10-12T18:17:03+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-10-12T18:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=5fdf7d47aa90a0983fa356b577a2ff5e16e68147'/>
<id>5fdf7d47aa90a0983fa356b577a2ff5e16e68147</id>
<content type='text'>
* Ensure unclosed script tags are parsed correctly by providing a workaround for https://bugs.python.org/issue41989.
* Avoid cdata_mode outside of HTML blocks, such as in inline code spans.

Fixes #1036.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Ensure unclosed script tags are parsed correctly by providing a workaround for https://bugs.python.org/issue41989.
* Avoid cdata_mode outside of HTML blocks, such as in inline code spans.

Fixes #1036.
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip tests with pygments version mismatch.</title>
<updated>2020-10-08T20:08:13+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-10-08T19:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=e02ed390666930ce8640d4cebcac51059e9a34d8'/>
<id>e02ed390666930ce8640d4cebcac51059e9a34d8</id>
<content type='text'>
If pygments is installed and the version doesn't match the expected version.
then any relevant tests will fail. To avoid failing tests due to different
output by pygments, those tests will be skipped. The pygments tox env
sets the `PYGMENTS_VERSION environment variable, so that env will always
run those tests against the expected version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If pygments is installed and the version doesn't match the expected version.
then any relevant tests will fail. To avoid failing tests due to different
output by pygments, those tests will be skipped. The pygments tox env
sets the `PYGMENTS_VERSION environment variable, so that env will always
run those tests against the expected version.
</pre>
</div>
</content>
</entry>
<entry>
<title>Some test tweaks.</title>
<updated>2020-10-08T18:38:16+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-10-08T18:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=6525e21c7f4fc7533e7135bd880d9ddeaf6bd817'/>
<id>6525e21c7f4fc7533e7135bd880d9ddeaf6bd817</id>
<content type='text'>
* Pygments specific tests now only run when the pygments version installed
  matches the expected version. That version is defined in an environment
  variable (PYGMENTS_VERSION) in the 'pygments' tox env (see #1030).
* When the Python lib tidylib is installed but the underlying c lib is not,
  the relevant tests are now skipped rather than fail. This matches the
  behavior when the Python lib is not installed. The tox envs are now useful
  on systems which don't have the c lib installed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Pygments specific tests now only run when the pygments version installed
  matches the expected version. That version is defined in an environment
  variable (PYGMENTS_VERSION) in the 'pygments' tox env (see #1030).
* When the Python lib tidylib is installed but the underlying c lib is not,
  the relevant tests are now skipped rather than fail. This matches the
  behavior when the Python lib is not installed. The tox envs are now useful
  on systems which don't have the c lib installed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure consistent handling of classes by fenced_code and codehilite (#1033)</title>
<updated>2020-10-08T17:18:28+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-10-08T17:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=c0b1dc5d315624799ac1ba380eced9838e7f4bca'/>
<id>c0b1dc5d315624799ac1ba380eced9838e7f4bca</id>
<content type='text'>
* All non-language classes should always be assigned to the pre tag.
* The language identifying class should never be included with the
general list of classes.

Fixes #1032</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* All non-language classes should always be assigned to the pre tag.
* The language identifying class should never be included with the
general list of classes.

Fixes #1032</pre>
</div>
</content>
</entry>
<entry>
<title>Update tests for pygments-2.7.1</title>
<updated>2020-10-07T14:06:56+00:00</updated>
<author>
<name>Michał Górny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2020-10-07T13:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=c2904eac1a6daf8a3aaef6af0791b101e1971544'/>
<id>c2904eac1a6daf8a3aaef6af0791b101e1971544</id>
<content type='text'>
Closes #1030
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1030
</pre>
</div>
</content>
</entry>
</feed>
