<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/misc/nested-patterns.txt, branch html</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>Issue #365 Bold/Italic nesting fix</title>
<updated>2014-11-18T01:36:43+00:00</updated>
<author>
<name>facelessuser</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2014-11-18T01:36:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=609faad76b80ff10da0e471183ad0cede3221571'/>
<id>609faad76b80ff10da0e471183ad0cede3221571</id>
<content type='text'>
The logic for the current regex for strong/em and em/strong was sound,
but the way it was implemented caused some unintended side effects.
Whether it is a quirk with regex in general or just with Python’s re
engine, I am not sure.  Put basically `(\*|_){3}`  causes issues with
nested bold/italic. So, allowing the group to be defined, and then
using the group number to specify the remaining sequential chars is a
better way that works more reliably `(\*|_)\2{2}.  Test from issue #365
was also added to check for this case in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The logic for the current regex for strong/em and em/strong was sound,
but the way it was implemented caused some unintended side effects.
Whether it is a quirk with regex in general or just with Python’s re
engine, I am not sure.  Put basically `(\*|_){3}`  causes issues with
nested bold/italic. So, allowing the group to be defined, and then
using the group number to specify the remaining sequential chars is a
better way that works more reliably `(\*|_)\2{2}.  Test from issue #365
was also added to check for this case in the future.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tail out of order issue</title>
<updated>2014-10-18T19:17:53+00:00</updated>
<author>
<name>facelessuser</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2014-10-18T19:17:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=72c819a6c7e10836f9ff67f662ac183fd01f5873'/>
<id>72c819a6c7e10836f9ff67f662ac183fd01f5873</id>
<content type='text'>
This issue was discovered when dealing with nested inlines.  In
treeprocessors.py it was incorrectly handling tails.  In short, tail
elements were being inserted earlier than they were supposed to be.

In order to fix this, the insertion index should be incremented by 1 so
that when the tails are inserted into the parent, they will be just
after the child they came from.

Also added a test in nested-patterns to catch this issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This issue was discovered when dealing with nested inlines.  In
treeprocessors.py it was incorrectly handling tails.  In short, tail
elements were being inserted earlier than they were supposed to be.

In order to fix this, the insertion index should be incremented by 1 so
that when the tails are inserted into the parent, they will be just
after the child they came from.

Also added a test in nested-patterns to catch this issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #106. Replaced all references to freewisdom.org (except for Yuri's homepage).</title>
<updated>2012-06-28T11:22:08+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-06-28T11:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=4dd11880a0dd9e23434230a4d1d3ec94d2ad99e4'/>
<id>4dd11880a0dd9e23434230a4d1d3ec94d2ad99e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ops, forgot to add new test files</title>
<updated>2008-07-19T13:02:19+00:00</updated>
<author>
<name>Artem Yunusov</name>
<email>nedrlab@gmail.com</email>
</author>
<published>2008-07-19T13:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-markdown.git/commit/?id=4c9cd2c1d9c589ead5a6543e306b8bf7e6295aa5'/>
<id>4c9cd2c1d9c589ead5a6543e306b8bf7e6295aa5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
