<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/basic, branch master</title>
<subtitle>github.com: waylan/Python-Markdown.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/'/>
<entry>
<title>Move backslash unescaping to treeprocessor</title>
<updated>2022-07-15T12:38:34+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2022-07-15T12:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=c0f6e5a31ea8e7fe98910a0523144c2a96fa9bf1'/>
<id>c0f6e5a31ea8e7fe98910a0523144c2a96fa9bf1</id>
<content type='text'>
By unescaping backslash escapes in a treeprocessor, the text is properly
escaped during serialization. Fixes #1131.

As it is recognized that various third-party extensions may be calling the
old class at `postprocessors.UnescapePostprocessor` the old class remains
in the codebase, but has been deprecated and will be removed in a future
release. The new class `treeprocessors.UnescapeTreeprocessor` should be
used instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By unescaping backslash escapes in a treeprocessor, the text is properly
escaped during serialization. Fixes #1131.

As it is recognized that various third-party extensions may be calling the
old class at `postprocessors.UnescapePostprocessor` the old class remains
in the codebase, but has been deprecated and will be removed in a future
release. The new class `treeprocessors.UnescapeTreeprocessor` should be
used instead.</pre>
</div>
</content>
</entry>
<entry>
<title>fixed some spelling mistakes</title>
<updated>2022-06-17T12:46:44+00:00</updated>
<author>
<name>Bastian Venthur</name>
<email>mail@venthur.de</email>
</author>
<published>2022-06-17T12:46:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=77fb7f1b51076becff488a9b42ef2883153262a0'/>
<id>77fb7f1b51076becff488a9b42ef2883153262a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://trove.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 typo, in the ten cut and pasted versions</title>
<updated>2020-04-19T18:30:56+00:00</updated>
<author>
<name>Charles Merriam</name>
<email>charles.merriam@gmail.com</email>
</author>
<published>2020-04-19T11:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=bbfdd5548d7930a281dc4f70a2ed6d80ed266bf9'/>
<id>bbfdd5548d7930a281dc4f70a2ed6d80ed266bf9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct spelling mistakes.</title>
<updated>2018-01-13T16:42:50+00:00</updated>
<author>
<name>Edward Betts</name>
<email>edward@4angle.com</email>
</author>
<published>2018-01-13T09:25:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=3fad73031e544de6c9f74621de923da3806a6c21'/>
<id>3fad73031e544de6c9f74621de923da3806a6c21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch from nose to unittest</title>
<updated>2018-01-09T01:41:18+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2018-01-06T06:04:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=49249b3fb6c458c2cbc34c409ba57cfae6e72320'/>
<id>49249b3fb6c458c2cbc34c409ba57cfae6e72320</id>
<content type='text'>
All file-based tests are now defined as unittest test cases via a
metaclass which walks a directory and builds a unittest for each pair
of test files.

To run the tests just run `python -m unittest discover tests`. Or use
tox as the tox config has been updated to run the new tests and all nose
specific code has been removed.

The test generator tools have been removed as well. If any changes or
additions need to be made to tests, they should be implemented using
the new framework rather than with the file-based tests. Eventually,
only the PHP and pl tests should remain as file-based tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All file-based tests are now defined as unittest test cases via a
metaclass which walks a directory and builds a unittest for each pair
of test files.

To run the tests just run `python -m unittest discover tests`. Or use
tox as the tox config has been updated to run the new tests and all nose
specific code has been removed.

The test generator tools have been removed as well. If any changes or
additions need to be made to tests, they should be implemented using
the new framework rather than with the file-based tests. Eventually,
only the PHP and pl tests should remain as file-based tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test for duplicate angled quotes without smarty extension</title>
<updated>2015-06-20T13:00:20+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2015-06-20T12:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=644e32c2b130f29cb16e154b1e0c281575c10427'/>
<id>644e32c2b130f29cb16e154b1e0c281575c10427</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>No longer percent encode spaces in urls.</title>
<updated>2014-01-10T04:43:52+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-01-10T04:43:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=d0e088d535a478b9435ff49fd27583f5cb9c2641'/>
<id>d0e088d535a478b9435ff49fd27583f5cb9c2641</id>
<content type='text'>
The current implementation was wrong as it also percent encoded query strings
(which should be plus encoded) and calling urllib.quote on the path (and
urllib.quote_plus on the query string) assumes the url is not already encoded.
What if the document author pasted a url that was already encoded? She probably
did not intend for `%20` to become `%2520`. Or did she? It is now clear to me
why many implementation do nothing to urls. Just pass them though as-is. To bad
if they are not valid HTML. HTML authors have to encodee their own urls, so I
guess markdown authors have to as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current implementation was wrong as it also percent encoded query strings
(which should be plus encoded) and calling urllib.quote on the path (and
urllib.quote_plus on the query string) assumes the url is not already encoded.
What if the document author pasted a url that was already encoded? She probably
did not intend for `%20` to become `%2520`. Or did she? It is now clear to me
why many implementation do nothing to urls. Just pass them though as-is. To bad
if they are not valid HTML. HTML authors have to encodee their own urls, so I
guess markdown authors have to as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #152. Spaces in links are now escaped.</title>
<updated>2012-10-21T19:02:19+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-10-21T19:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=0dc9ae0d62829a4b9856a3979c967facafc2d128'/>
<id>0dc9ae0d62829a4b9856a3979c967facafc2d128</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #78. Added support for two line link refs.</title>
<updated>2012-02-02T11:19:41+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-02-02T11:19:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=9834966294597181545d2f987f223b6ca1aeb070'/>
<id>9834966294597181545d2f987f223b6ca1aeb070</id>
<content type='text'>
Also refactored the reference preprocessor to make this a little easier to
implement. Regex does more now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also refactored the reference preprocessor to make this a little easier to
implement. Regex does more now.
</pre>
</div>
</content>
</entry>
</feed>
