<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/test_syntax/blocks, branch master</title>
<subtitle>github.com: waylan/Python-Markdown.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-markdown.git/'/>
<entry>
<title>Use pyspelling to check spelling.</title>
<updated>2023-04-06T23:21:46+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2023-04-06T23:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-markdown.git/commit/?id=07b8b2c90a92c20fb0740d5527c6a219d2afb7ae'/>
<id>07b8b2c90a92c20fb0740d5527c6a219d2afb7ae</id>
<content type='text'>
In addition to checking the spelling in our documentation, we are now also checking the spelling of the README.md and similar files as well as comments in our Python code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In addition to checking the spelling in our documentation, we are now also checking the spelling of the README.md and similar files as well as comments in our Python code.</pre>
</div>
</content>
</entry>
<entry>
<title>[style]: fix various typos in docstrings and comments</title>
<updated>2022-03-18T13:41:43+00:00</updated>
<author>
<name>Florian Best</name>
<email>best@univention.de</email>
</author>
<published>2022-03-18T09:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-markdown.git/commit/?id=383de86c64101b8d14768d9a247c9efc97d703bd'/>
<id>383de86c64101b8d14768d9a247c9efc97d703bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use simplified regex for html placeholders (#1086)</title>
<updated>2020-12-08T16:30:45+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-12-08T16:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-markdown.git/commit/?id=5a7bbaf4c00224a393ddc818b7fc1917c8064840'/>
<id>5a7bbaf4c00224a393ddc818b7fc1917c8064840</id>
<content type='text'>
Co-authored-by: Reilly Raab &lt;raabrp@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Reilly Raab &lt;raabrp@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Properly parse unclosed tags in code spans</title>
<updated>2020-11-23T18:11:21+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-11-23T18:11:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-markdown.git/commit/?id=1279074ea97807c0131a2b82893189bc07bf2dd8'/>
<id>1279074ea97807c0131a2b82893189bc07bf2dd8</id>
<content type='text'>
* fix unclosed pi in code span
* fix unclosed dec in code span
* fix unclosed tag in code span

Closes #1066.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix unclosed pi in code span
* fix unclosed dec in code span
* fix unclosed tag in code span

Closes #1066.</pre>
</div>
</content>
</entry>
<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://91.123.203.49/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://91.123.203.49/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>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://91.123.203.49/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>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://91.123.203.49/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 HR which follows strong em.</title>
<updated>2020-07-01T14:18:28+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-07-01T14:08:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-markdown.git/commit/?id=be7ba7bfa17e7cb0c795e101662d1e490334ec84'/>
<id>be7ba7bfa17e7cb0c795e101662d1e490334ec84</id>
<content type='text'>
Fixes #897.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #897.
</pre>
</div>
</content>
</entry>
<entry>
<title>Limit depth of blockquotes using Python's recursion limit. (#991)</title>
<updated>2020-06-29T17:32:46+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-06-29T17:32:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-markdown.git/commit/?id=570625884328ea3c71000391de77776691074033'/>
<id>570625884328ea3c71000391de77776691074033</id>
<content type='text'>
If the Python stack comes within 100 frames of the recursion limit,
then the nesting limit of blockquotes is met. Any remaining text,
including angle brackets, are simply wrapped in a paragraph. To
increasing the nesting depth, increase Python's recursion limit.
However, be aware that each level of recursion will likely result in
multiple frames being added to the Python stack. Therefore, the
recursion depth and nesting depth are not one-to-one.

Performance is an concern here. However, the current solution seems like
a reasonable compromise. It doesn't slow things down too much, but also
avoids Markdown input resulting in an error. This is mostly only a concern
with contrived input anyway. For the average Markdown document, this will
likely never be an issue.

Fixes #799.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the Python stack comes within 100 frames of the recursion limit,
then the nesting limit of blockquotes is met. Any remaining text,
including angle brackets, are simply wrapped in a paragraph. To
increasing the nesting depth, increase Python's recursion limit.
However, be aware that each level of recursion will likely result in
multiple frames being added to the Python stack. Therefore, the
recursion depth and nesting depth are not one-to-one.

Performance is an concern here. However, the current solution seems like
a reasonable compromise. It doesn't slow things down too much, but also
avoids Markdown input resulting in an error. This is mostly only a concern
with contrived input anyway. For the average Markdown document, this will
likely never be an issue.

Fixes #799.</pre>
</div>
</content>
</entry>
</feed>
