<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/misc, branch travis-update</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>Fix HTML parse with empty lines (#537)</title>
<updated>2017-01-24T15:36:37+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2017-01-24T15:36:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=94962cb644b3117e7dd46f16b1a4341609ad6bf2'/>
<id>94962cb644b3117e7dd46f16b1a4341609ad6bf2</id>
<content type='text'>
If both open and close was not found in first block, additional blocks
were evaluated without context of previous blocks.  The algorithm needs
to evaluate a buffer with the left bracket present.  So feed in all
items and get the right bracket, then adjust the data_index to be
relative to the last block. Fixes #452.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If both open and close was not found in first block, additional blocks
were evaluated without context of previous blocks.  The algorithm needs
to evaluate a buffer with the left bracket present.  So feed in all
items and get the right bracket, then adjust the data_index to be
relative to the last block. Fixes #452.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix hr recursion issue (#535)</title>
<updated>2017-01-23T16:10:20+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2017-01-23T16:10:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=594b25d53798c30735da5a9be19c06cc94052a16'/>
<id>594b25d53798c30735da5a9be19c06cc94052a16</id>
<content type='text'>
HRProcessor tried to access a member variable after recursively calling
itself.  In certain situations HRProcessor will try to access its
member variable containing its match, but it will not be the same match
that call in the stack expected.  This is easily fixed by storing the
match locally *before* doing any recursive work.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HRProcessor tried to access a member variable after recursively calling
itself.  In certain situations HRProcessor will try to access its
member variable containing its match, but it will not be the same match
that call in the stack expected.  This is easily fixed by storing the
match locally *before* doing any recursive work.</pre>
</div>
</content>
</entry>
<entry>
<title>Better inline code escaping (#533)</title>
<updated>2017-01-20T23:16:52+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2017-01-20T23:16:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=4a3d1a6bc0cb49d8a472380614b53fdd300e7512'/>
<id>4a3d1a6bc0cb49d8a472380614b53fdd300e7512</id>
<content type='text'>
This aims to escape code in a more expected fashion.   This handles
when backticks are escaped and when the escapes before backticks are
escaped.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This aims to escape code in a more expected fashion.   This handles
when backticks are escaped and when the escapes before backticks are
escaped.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix image titles not following spec</title>
<updated>2016-07-27T02:28:18+00:00</updated>
<author>
<name>facelessuser</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2016-07-27T02:28:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=65170bf24268620598ef0d5a19aa945af5cb22f4'/>
<id>65170bf24268620598ef0d5a19aa945af5cb22f4</id>
<content type='text'>
Don’t allow spaces in image links.  This was also causing an issue
where any text following a space was treated as a title. Ref #484.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don’t allow spaces in image links.  This was also causing an issue
where any text following a space was treated as a title. Ref #484.
</pre>
</div>
</content>
</entry>
<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://git.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://git.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>Better nested STRONG EM support.</title>
<updated>2014-09-26T14:29:48+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=8358bb3c569026d9775859bcdbd2611fc9499420'/>
<id>8358bb3c569026d9775859bcdbd2611fc9499420</id>
<content type='text'>
Fixes #253. Thanks to @facelessuser for the tests. Although I removed
a bunch of weird ones (even some that passed) from his PR (#342). 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>
Fixes #253. Thanks to @facelessuser for the tests. Although I removed
a bunch of weird ones (even some that passed) from his PR (#342). 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>Added some inline pattenr tests.</title>
<updated>2014-08-25T17:49:46+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-08-25T17:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=b59d6d5cbf521d6f6557a29dfd5589c51ae73789'/>
<id>b59d6d5cbf521d6f6557a29dfd5589c51ae73789</id>
<content type='text'>
markdown/inlinepatterns.py is now at 99% coverage.

I have no idea why the two remaining lines are not not covered.
I it not clear to me under what circumstances this two if statements
would ever evaluate to True. I'm inclined to just remove them, but perhaps
there is an edge case I'm missing. I'll take another look later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
markdown/inlinepatterns.py is now at 99% coverage.

I have no idea why the two remaining lines are not not covered.
I it not clear to me under what circumstances this two if statements
would ever evaluate to True. I'm inclined to just remove them, but perhaps
there is an edge case I'm missing. I'll take another look later.
</pre>
</div>
</content>
</entry>
<entry>
<title>'http://packages.python.org/Markdown/' =&gt; 'https://pythonhosted.org/Markdown/'. The former redirects to the latter anyway. Might as well point to the actual destination.</title>
<updated>2014-08-21T14:12:43+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-08-21T14:12:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=96636540ed04d29d6726f253ae014e89ecb0713c'/>
<id>96636540ed04d29d6726f253ae014e89ecb0713c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored test framework to use YAML config files rather than INI. Fixes #333.</title>
<updated>2014-08-20T18:32:09+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2014-08-20T18:32:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=1918cd26a16bf6051b3fcc791e1f260bad846c72'/>
<id>1918cd26a16bf6051b3fcc791e1f260bad846c72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
