<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/markdown/serializers.py, branch 3.2.1</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>Simplify xml.etree.ElementTree loading (#902)</title>
<updated>2020-02-03T19:38:22+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@users.noreply.github.com</email>
</author>
<published>2020-02-03T19:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=a2e4788f8d1850f59699ce0ab500688031ea1571'/>
<id>a2e4788f8d1850f59699ce0ab500688031ea1571</id>
<content type='text'>
cElementTree is a deprecated alias for ElementTree since Python 3.3.

Also drop the recommendation to import etree from markdown.util,
and deprecate markdown.util.etree.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cElementTree is a deprecated alias for ElementTree since Python 3.3.

Also drop the recommendation to import etree from markdown.util,
and deprecate markdown.util.etree.

</pre>
</div>
</content>
</entry>
<entry>
<title>Drop support for Python 2.7 (#865)</title>
<updated>2019-10-24T13:36:04+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2019-10-24T13:36:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=dab931f597cdc5b57d4e2458840fb991606506bc'/>
<id>dab931f597cdc5b57d4e2458840fb991606506bc</id>
<content type='text'>
* Python syntax upgraded using `pyupgrade --py3-plus`
* Travis no longer uses `sudo`. See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

See #760 for Python Version Support Timeline and related dicussion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Python syntax upgraded using `pyupgrade --py3-plus`
* Travis no longer uses `sudo`. See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

See #760 for Python Version Support Timeline and related dicussion.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use https:// links where available</title>
<updated>2019-06-12T23:06:35+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-06-12T20:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=cb9cdc86575dab7afd3296c030e338cea3fc936e'/>
<id>cb9cdc86575dab7afd3296c030e338cea3fc936e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Also update RE_AMP in serializers.py</title>
<updated>2018-09-25T13:37:15+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2018-09-25T13:37:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=ebe3485f38cb9065cfc58915e663b02be31aa19a'/>
<id>ebe3485f38cb9065cfc58915e663b02be31aa19a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix double escaping of amp in attributes (#670)</title>
<updated>2018-07-29T18:44:18+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2018-07-29T18:44:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=59406c41e7c3548d1c95a2091e2d676323494f62'/>
<id>59406c41e7c3548d1c95a2091e2d676323494f62</id>
<content type='text'>
Serializer should only escape &amp; in attributes if not part of &amp;amp; 

Better regex avoid Unicode and `_` in amp detection.

In general, we don't want to escape already escaped content, but with code content, we want literal representations of escaped content, so have code content explicitly escape its content before placing in AtomicStrings.

Closes #669.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Serializer should only escape &amp; in attributes if not part of &amp;amp; 

Better regex avoid Unicode and `_` in amp detection.

In general, we don't want to escape already escaped content, but with code content, we want literal representations of escaped content, so have code content explicitly escape its content before placing in AtomicStrings.

Closes #669.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing comma in HTML_EMPTY</title>
<updated>2018-07-24T18:53:06+00:00</updated>
<author>
<name>zyxw59</name>
<email>emilycf@mit.edu</email>
</author>
<published>2018-05-20T00:50:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=ae914abeac5d5527e1ada500fe7faf545fbb638c'/>
<id>ae914abeac5d5527e1ada500fe7faf545fbb638c</id>
<content type='text'>
Because of the missing comma, the last two tags in the list, `meta` and `param` are interpreted as a single string literal `"metaparam"`, so the serializer fails to correctly produce empty elements for `&lt;meta&gt;` and `&lt;param&gt;` tags.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because of the missing comma, the last two tags in the list, `meta` and `param` are interpreted as a single string literal `"metaparam"`, so the serializer fails to correctly produce empty elements for `&lt;meta&gt;` and `&lt;param&gt;` tags.</pre>
</div>
</content>
</entry>
<entry>
<title>Improve serializer test coverage</title>
<updated>2018-07-24T13:19:08+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2018-07-23T20:16:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=727adc8a053402d3e9a38424ff67bde697674156'/>
<id>727adc8a053402d3e9a38424ff67bde697674156</id>
<content type='text'>
Should be 100% coverage now. The ProcessingInstruction needed to be
imported directly from ElementTree as PY27 was using a PIProxy which
resulted in a  bug. Interestingly, PY3 worked fine.

Also removed the encoding code as it was not used. Besides it was only
ever accessable from a private function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should be 100% coverage now. The ProcessingInstruction needed to be
imported directly from ElementTree as PY27 was using a PIProxy which
resulted in a  bug. Interestingly, PY3 worked fine.

Also removed the encoding code as it was not used. Besides it was only
ever accessable from a private function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify namespace support in serializer.</title>
<updated>2018-07-24T13:19:08+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2018-07-23T18:13:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=8cd1ce45fdd795fafc334bfbe37948557826cdb8'/>
<id>8cd1ce45fdd795fafc334bfbe37948557826cdb8</id>
<content type='text'>
Fixes #679.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #679.
</pre>
</div>
</content>
</entry>
<entry>
<title>Flake8 cleanup (mostly whitespace).</title>
<updated>2014-11-20T21:07:03+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-11-20T21:07:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=8f66a94eab1389d97041944ed24afd2bf7c4389c'/>
<id>8f66a94eab1389d97041944ed24afd2bf7c4389c</id>
<content type='text'>
Got all but a couple files in the tests (ran out of time today).
Apparently I have been using some bad form for years (although a few
things seemed to look better before the update). Anyway, conformant now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Got all but a couple files in the tests (ran out of time today).
Apparently I have been using some bad form for years (although a few
things seemed to look better before the update). Anyway, conformant now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark a few more lines with 'no cover' - missed them the first time through. The rest should have test cases added.</title>
<updated>2014-07-12T01:46:51+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-07-12T01:46:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=b27e1ea4b712d3b332f9eaec3c4b218fdf42eca3'/>
<id>b27e1ea4b712d3b332f9eaec3c4b218fdf42eca3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
