<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/extensions/smarty.html, branch mitya57/script-name</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>Ensure InlinePatterns don't drop newlines.</title>
<updated>2015-11-06T22:34:23+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2015-11-06T22:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=6897545a10e52deda73d2e19a7c71bcfa2883bb4'/>
<id>6897545a10e52deda73d2e19a7c71bcfa2883bb4</id>
<content type='text'>
Drppoed the non-greedy quantifier from the end of the inlinePatterns as it
served no useful purpose and was actually (in very rare edge cases) causing
newlines to be dropped. FIxes #439. Thanks to @munificent for the report.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drppoed the non-greedy quantifier from the end of the inlinePatterns as it
served no useful purpose and was actually (in very rare edge cases) causing
newlines to be dropped. FIxes #439. Thanks to @munificent for the report.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test to make sure quotes processor does not touch code blocks</title>
<updated>2015-06-19T12:19:20+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2015-06-19T12:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=c906d6db38edf68ec45cd412bf3277f1328949f2'/>
<id>c906d6db38edf68ec45cd412bf3277f1328949f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add a failing case for `&lt;&lt;Hello&gt;&gt;` to smarty test</title>
<updated>2015-06-15T14:49:11+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2015-06-15T14:49:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=bb9bb318c28fced49de7ef43cd9cd8c364a8b090'/>
<id>bb9bb318c28fced49de7ef43cd9cd8c364a8b090</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>smarty: Add back special case for decade abbreviations</title>
<updated>2015-03-18T19:40:57+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2015-03-18T19:36:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=cf7234dea91637de77179bf6e00c66e15c06f070'/>
<id>cf7234dea91637de77179bf6e00c66e15c06f070</id>
<content type='text'>
The previous version did not work, and was incorrectly removed as part of
85ad18071d619251. In the new version, use lookbehind search for \w instead
of \b, so that it works.

Update the tests accordingly.

Fixes #399 (except parts that we can't fix). Thanks @gandaro for the report.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous version did not work, and was incorrectly removed as part of
85ad18071d619251. In the new version, use lookbehind search for \w instead
of \b, so that it works.

Update the tests accordingly.

Fixes #399 (except parts that we can't fix). Thanks @gandaro for the report.
</pre>
</div>
</content>
</entry>
<entry>
<title>Code Blocks must always be AtomicStrings</title>
<updated>2014-09-09T02:37:45+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-09-09T02:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=b91a37be0ab019fa1ee0b94014a6ed0c7ff5dbf5'/>
<id>b91a37be0ab019fa1ee0b94014a6ed0c7ff5dbf5</id>
<content type='text'>
Fixes #340. The "inline" TreeProcessor runs before the "prettify"
TreeProcessor, but the "smarty" TreeProcessor (wich is just another
instance of `InlineProcessor`) runs after the "prettify" TreeProcessor.
The problem was that the "prettify" TreeProcessor was losing the
AtomicString quality of the text of code blocks (any operation
on a string creates a new string. When that string is an AtomicString,
the new string must explicitly be declared as an AtomicString.
As the "prettify" TreeProcessor cleans up newlines on code blocks,
it was changing the AtomicString to a normal string. And as
`InlineProcessor` identifies what elements to skip solely by whether
the text is an AtomicString, the "smarty" instance was running on
code blocks.

Importantly, I added a test of code blocks and spans for smarty,
so this shouldn't break again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #340. The "inline" TreeProcessor runs before the "prettify"
TreeProcessor, but the "smarty" TreeProcessor (wich is just another
instance of `InlineProcessor`) runs after the "prettify" TreeProcessor.
The problem was that the "prettify" TreeProcessor was losing the
AtomicString quality of the text of code blocks (any operation
on a string creates a new string. When that string is an AtomicString,
the new string must explicitly be declared as an AtomicString.
As the "prettify" TreeProcessor cleans up newlines on code blocks,
it was changing the AtomicString to a normal string. And as
`InlineProcessor` identifies what elements to skip solely by whether
the text is an AtomicString, the "smarty" instance was running on
code blocks.

Importantly, I added a test of code blocks and spans for smarty,
so this shouldn't break again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed an old typo in the smarty extension and added a test case.</title>
<updated>2014-08-11T18:05:41+00:00</updated>
<author>
<name>Martin Altmayer</name>
<email>altmayer@posteo.de</email>
</author>
<published>2014-08-11T18:04:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=927ad008b51e5fa265b6e8497805ff09ec098d65'/>
<id>927ad008b51e5fa265b6e8497805ff09ec098d65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>smarty: add support for angled quotes</title>
<updated>2014-06-19T05:32:32+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2014-06-18T17:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=2d47fcedc08973b0250d29c456609c8a687037cd'/>
<id>2d47fcedc08973b0250d29c456609c8a687037cd</id>
<content type='text'>
See &lt;http://en.wikipedia.org/wiki/Guillemet&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See &lt;http://en.wikipedia.org/wiki/Guillemet&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add failing unit test for smarty: ellipsis before close double quote generates opening double quote.</title>
<updated>2014-06-01T01:58:11+00:00</updated>
<author>
<name>Lawrence Kesteloot</name>
<email>lk@teamten.com</email>
</author>
<published>2014-06-01T01:58:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=8be0d1f517a0857b69763fd3bad1875badede2d2'/>
<id>8be0d1f517a0857b69763fd3bad1875badede2d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a (failing) test for Smarty extension.</title>
<updated>2014-02-13T11:45:38+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2014-02-13T11:45:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=2612d0eebf666fe7133b4c93c7cafa5f10c0d8ab'/>
<id>2612d0eebf666fe7133b4c93c7cafa5f10c0d8ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some fixes requested by @waylan, cleanup and tests improvements</title>
<updated>2013-07-27T12:21:00+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2013-07-27T12:21:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=85ad18071d61925168387934e4e6f9f82462c292'/>
<id>85ad18071d61925168387934e4e6f9f82462c292</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
