<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests, branch strongem</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>Cleaned up STRNG EM tests.</title>
<updated>2014-09-26T13:56:37+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-09-26T13:56:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=f6483234b244602ab883b851552f3d736323c608'/>
<id>f6483234b244602ab883b851552f3d736323c608</id>
<content type='text'>
Removed a bunch of weird ones (even some that passed). For the most part,
there is no definitive way for those to be parsed. So there is no point of
testing for them. In most of those situations, authors should be mixing
underscores and astericks so it is clear what is intended.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed a bunch of weird ones (even some that passed). For the most part,
there is no definitive way for those to be parsed. So there is no point of
testing for them. In most of those situations, authors should be mixing
underscores and astericks so it is clear what is intended.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into strongem</title>
<updated>2014-09-26T02:31:04+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-09-26T02:31:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=ddaee34302116512cbc53ba05986e5260a79b7d3'/>
<id>ddaee34302116512cbc53ba05986e5260a79b7d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a temp workwround for deprecated short ext names.</title>
<updated>2014-09-26T02:26:07+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-09-26T02:26:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=8f878c37dc3613b7279a0787bdcaf2d66b348d74'/>
<id>8f878c37dc3613b7279a0787bdcaf2d66b348d74</id>
<content type='text'>
As we chnaged the order in import trys for short names extensions
(no dot syntax), an extra test was added to the import code for the
occassion when a naming conflict exists. For example, if PyTables
is installed (module name is tables) and the user tries to use
the short name 'tables' instead of 'markdown.extensions.tables'.
Fixes #341.

Of course, this code will get ripped out when the old behavior is
fully deprecated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As we chnaged the order in import trys for short names extensions
(no dot syntax), an extra test was added to the import code for the
occassion when a naming conflict exists. For example, if PyTables
is installed (module name is tables) and the user tries to use
the short name 'tables' instead of 'markdown.extensions.tables'.
Fixes #341.

Of course, this code will get ripped out when the old behavior is
fully deprecated.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed TOC Option parsing.</title>
<updated>2014-09-26T01:17:57+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-09-26T01:17:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=39c8c1c64fe04bbde625b314386cb109b11527da'/>
<id>39c8c1c64fe04bbde625b314386cb109b11527da</id>
<content type='text'>
The new option parser assumes bool values if the default is bool or
None. As the "title" option is not a bool value, it should default to an
empty string rather than None. Fixes #347.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new option parser assumes bool values if the default is bool or
None. As the "title" option is not a bool value, it should default to an
empty string rather than None. Fixes #347.
</pre>
</div>
</content>
</entry>
<entry>
<title>Better nested STRONG EM support.</title>
<updated>2014-09-25T20:07:07+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-09-25T20:07:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=0500d864f4fc4112bd6b2957b36001645a13ff97'/>
<id>0500d864f4fc4112bd6b2957b36001645a13ff97</id>
<content type='text'>
Addresses most of #253. Thanks to @facelessuser for the tests. Although
the tests currently failing may or may not be valid. It could be that
the failing tests will be removed with the expectation that when a
document author does that, they can see that it doesn't work and
change their document to something that works. But I need to go
through them before I'm sure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses most of #253. Thanks to @facelessuser for the tests. Although
the tests currently failing may or may not be valid. It could be that
the failing tests will be removed with the expectation that when a
document author does that, they can see that it doesn't work and
change their document to something that works. But I need to go
through them before I'm sure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the lost tail issue in inlineprocessors.</title>
<updated>2014-09-25T18:00:51+00:00</updated>
<author>
<name>facelessuser</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2014-09-19T23:44:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=660614c56b0815c7e395e788383fa2c92b2f2261'/>
<id>660614c56b0815c7e395e788383fa2c92b2f2261</id>
<content type='text'>
See #253. Prior to this patch, if any inline processors returned an element
with a tail, the tail would end up empty. This resolves that issue and will
allow for #253 to be fixed. Thanks to @facelessuser for the work on this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See #253. Prior to this patch, if any inline processors returned an element
with a tail, the tail would end up empty. This resolves that issue and will
allow for #253 to be fixed. Thanks to @facelessuser for the work on this.
</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>Mark special treatment of extension names as PendingDeprecation</title>
<updated>2014-08-30T00:00:39+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2014-08-30T00:00:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=9a5b11116e2ea8a240fa2d03cad9de334023da9d'/>
<id>9a5b11116e2ea8a240fa2d03cad9de334023da9d</id>
<content type='text'>
The builtin extensions will no longer get special treatment and have
the path ("markdown.extensions.") appended . The same applies for
"mdx_" extensions. All names extension must provide the full path.
Fixes #336.

Also deprecating support for passing in extension config settings
as part of the string name. The extension_configs keyword should
be used instead. Fixes #335.

Also raising PendingDeprecationWarnings for positional args or the
"config" keyword on the Extension Class. Pass each setting as a
seperate keyword instead.

Docs and tests are updated. Still need to update extension API docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The builtin extensions will no longer get special treatment and have
the path ("markdown.extensions.") appended . The same applies for
"mdx_" extensions. All names extension must provide the full path.
Fixes #336.

Also deprecating support for passing in extension config settings
as part of the string name. The extension_configs keyword should
be used instead. Fixes #335.

Also raising PendingDeprecationWarnings for positional args or the
"config" keyword on the Extension Class. Pass each setting as a
seperate keyword instead.

Docs and tests are updated. Still need to update extension API docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored tests to no longer pass configs to names extensions.</title>
<updated>2014-08-29T19:44:41+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-08-29T19:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=8aa89a389ae1a7cdafa516be84532b26ed3c565d'/>
<id>8aa89a389ae1a7cdafa516be84532b26ed3c565d</id>
<content type='text'>
`'path.to.module(option=value'` =&gt; `path.to.module.Class(option='value')`
This is in anticipation of #335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`'path.to.module(option=value'` =&gt; `path.to.module.Class(option='value')`
This is in anticipation of #335
</pre>
</div>
</content>
</entry>
<entry>
<title>More updates to test configs.</title>
<updated>2014-08-29T18:11:57+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-08-29T18:11:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=9d388a8ee26934c7b4685374ed7afbf5219d1995'/>
<id>9d388a8ee26934c7b4685374ed7afbf5219d1995</id>
<content type='text'>
The last few extensions were updated to accept dicts/**kwargs as configs and more
tests were updated. Also updated extra to actually accept configs.

Note that extra requires an extra level of dicts. First you need
to indicate tha the settings are for extra, then, which extension
extra wraps. I'm not crazy abount this, bit not sur ehow else to do it
without making all the configs a global attribute on the Markdown class
to that any extention can access any other extensions config settings.
I don't think we wnat to do that.

Also updated extra to use dot notation for the sub-extensions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The last few extensions were updated to accept dicts/**kwargs as configs and more
tests were updated. Also updated extra to actually accept configs.

Note that extra requires an extra level of dicts. First you need
to indicate tha the settings are for extra, then, which extension
extra wraps. I'm not crazy abount this, bit not sur ehow else to do it
without making all the configs a global attribute on the Markdown class
to that any extention can access any other extensions config settings.
I don't think we wnat to do that.

Also updated extra to use dot notation for the sub-extensions.
</pre>
</div>
</content>
</entry>
</feed>
