<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/markdown/serializers.py, branch html</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>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>
<entry>
<title>Marked a bunch of lines as 'no cover'. Coverage at 91%</title>
<updated>2014-07-12T01:24:30+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-07-12T01:24:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=7d728afc3a684afadc7fa5c4672811ac0cc2fa98'/>
<id>7d728afc3a684afadc7fa5c4672811ac0cc2fa98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: "AttributeError: 'dict_items' object has no attribute 'sort'"</title>
<updated>2013-09-11T17:21:57+00:00</updated>
<author>
<name>Lucas Clemente Vella</name>
<email>lvella@gmail.com</email>
</author>
<published>2013-09-11T17:21:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=df4e833b6e7d4aefb929eb962b063a5d6be13369'/>
<id>df4e833b6e7d4aefb929eb962b063a5d6be13369</id>
<content type='text'>
Happens on pip install with Python 3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Happens on pip install with Python 3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Serializers now preserve case of tags.</title>
<updated>2013-08-08T01:39:08+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2013-08-08T01:39:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=a64592d5f288d0b83b11aa7d4eade728d5d5fb91'/>
<id>a64592d5f288d0b83b11aa7d4eade728d5d5fb91</id>
<content type='text'>
It is up to the markdown code (and extension authors to make sure tags are
of the correct case (there may be cases were an extension might need to
mix cases - which should be preserved). Fixes #237. Thanks for the report
@eichin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is up to the markdown code (and extension authors to make sure tags are
of the correct case (there may be cases were an extension might need to
mix cases - which should be preserved). Fixes #237. Thanks for the report
@eichin.
</pre>
</div>
</content>
</entry>
</feed>
