<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/markdown/extensions, branch 3.3.2</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>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>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>Support unicode ids in toc (#970)</title>
<updated>2020-10-01T18:54:37+00:00</updated>
<author>
<name>Antoine</name>
<email>me@atelierhsn.com</email>
</author>
<published>2020-10-01T18:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=2e0962ef1412b0cd566331954aff82711ce93acf'/>
<id>2e0962ef1412b0cd566331954aff82711ce93acf</id>
<content type='text'>
A second function, `slugify_unicode` was added rather than changing the existing function so as to maintain backward compatibility. While an `encoding` parameter was added to the `slugify` function, we can't expect existing third party functions to accept a third parameter. Therefore, the two parameter API was preserved with this change.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A second function, `slugify_unicode` was added rather than changing the existing function so as to maintain backward compatibility. While an `encoding` parameter was added to the `slugify` function, we can't expect existing third party functions to accept a third parameter. Therefore, the two parameter API was preserved with this change.</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor HTML Parser (#803)</title>
<updated>2020-09-22T14:42:17+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-09-22T14:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=b701c34ebd7b2d0eb319517b9a275ddf0c89608d'/>
<id>b701c34ebd7b2d0eb319517b9a275ddf0c89608d</id>
<content type='text'>
The HTML parser has been completely replaced. The new HTML parser is built on Python's html.parser.HTMLParser, which alleviates various bugs and simplifies maintenance of the code.

The md_in_html extension has been rebuilt on the new HTML Parser, which drastically simplifies it. Note that raw HTML elements with a markdown attribute defined are now converted to ElementTree Elements and are rendered by the serializer. Various bugs have been fixed.

Link reference parsing, abbreviation reference parsing and footnote reference parsing has all been moved from preprocessors to blockprocessors, which allows them to be nested within other block level elements. Specifically, this change was necessary to maintain the current behavior in the rebuilt md_in_html extension. A few random edge-case bugs (see the included tests) were resolved in the process.

Closes #595, closes #780, closes #830 and closes #1012.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The HTML parser has been completely replaced. The new HTML parser is built on Python's html.parser.HTMLParser, which alleviates various bugs and simplifies maintenance of the code.

The md_in_html extension has been rebuilt on the new HTML Parser, which drastically simplifies it. Note that raw HTML elements with a markdown attribute defined are now converted to ElementTree Elements and are rendered by the serializer. Various bugs have been fixed.

Link reference parsing, abbreviation reference parsing and footnote reference parsing has all been moved from preprocessors to blockprocessors, which allows them to be nested within other block level elements. Specifically, this change was necessary to maintain the current behavior in the rebuilt md_in_html extension. A few random edge-case bugs (see the included tests) were resolved in the process.

Closes #595, closes #780, closes #830 and closes #1012.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix complex scenarios with definition, ordered, and unordered lists (#1007)</title>
<updated>2020-07-27T12:52:58+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2020-07-27T12:52:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=370e17b3923d7d8f4709652bc24b695271a0210d'/>
<id>370e17b3923d7d8f4709652bc24b695271a0210d</id>
<content type='text'>
Fixes #918.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #918.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix complex scenarios with lists and admonitions (#1006)</title>
<updated>2020-07-26T13:10:45+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2020-07-26T13:10:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=611cf6d98297f8cb79c06d2c785c885b88a12cf0'/>
<id>611cf6d98297f8cb79c06d2c785c885b88a12cf0</id>
<content type='text'>
Add better logic to admonitions to account for more complex list cases

Fixes #1004</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add better logic to admonitions to account for more complex list cases

Fixes #1004</pre>
</div>
</content>
</entry>
<entry>
<title>Add suport for attr_lists in table headers.</title>
<updated>2020-06-30T18:36:01+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-06-29T19:43:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=2164c4b4752b9061c742326ea0413719333058fc'/>
<id>2164c4b4752b9061c742326ea0413719333058fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tune attr list regex</title>
<updated>2020-06-30T18:36:01+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-06-25T19:34:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=706d1fd096a49df0662a181f9dae726edefff43f'/>
<id>706d1fd096a49df0662a181f9dae726edefff43f</id>
<content type='text'>
Ignore empty braces. Braces must contain at least one non-whitepsace
character to be recognized as an attr list.

Attr lists for table cells must be at the end of the cell content and must
be seperated from the content by at least one space. This appears to be
a breaking change. However, it is consistent with the behavior elsewhere.

Fixes #898.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore empty braces. Braces must contain at least one non-whitepsace
character to be recognized as an attr list.

Attr lists for table cells must be at the end of the cell content and must
be seperated from the content by at least one space. This appears to be
a breaking change. However, it is consistent with the behavior elsewhere.

Fixes #898.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unescaping of HTML characters &lt;&gt; in CodeHilite. (#990)</title>
<updated>2020-06-29T17:35:17+00:00</updated>
<author>
<name>Rohitt Vashishtha</name>
<email>aero31aero@gmail.com</email>
</author>
<published>2020-06-29T17:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=071c4f1420ac3c80ad621522b9996bcc1cd94bcf'/>
<id>071c4f1420ac3c80ad621522b9996bcc1cd94bcf</id>
<content type='text'>
Previously, we'd unescape both `&amp;amp;gt;` and `&amp;gt;` to the same
string because we were running the &amp;amp; =&gt; &amp; replacement first.
By changing the order of this replacement, we now convert:

`&amp;amp;gt; &amp;gt;` =&gt; `&amp;gt; &gt;`

as expected.

Fixes #988.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, we'd unescape both `&amp;amp;gt;` and `&amp;gt;` to the same
string because we were running the &amp;amp; =&gt; &amp; replacement first.
By changing the order of this replacement, we now convert:

`&amp;amp;gt; &amp;gt;` =&gt; `&amp;gt; &gt;`

as expected.

Fixes #988.</pre>
</div>
</content>
</entry>
</feed>
