<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/extensions/extra/raw-html.html, branch master</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>Refactor HTML Parser (#803)</title>
<updated>2020-09-22T14:42:17+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-09-22T14:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=b701c34ebd7b2d0eb319517b9a275ddf0c89608d'/>
<id>b701c34ebd7b2d0eb319517b9a275ddf0c89608d</id>
<content type='text'>
The HTML parser has been completely replaced. The new HTML parser is built on Python's html.parser.HTMLParser, which alleviates various bugs and simplifies maintenance of the code.

The md_in_html extension has been rebuilt on the new HTML Parser, which drastically simplifies it. Note that raw HTML elements with a markdown attribute defined are now converted to ElementTree Elements and are rendered by the serializer. Various bugs have been fixed.

Link reference parsing, abbreviation reference parsing and footnote reference parsing has all been moved from preprocessors to blockprocessors, which allows them to be nested within other block level elements. Specifically, this change was necessary to maintain the current behavior in the rebuilt md_in_html extension. A few random edge-case bugs (see the included tests) were resolved in the process.

Closes #595, closes #780, closes #830 and closes #1012.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The HTML parser has been completely replaced. The new HTML parser is built on Python's html.parser.HTMLParser, which alleviates various bugs and simplifies maintenance of the code.

The md_in_html extension has been rebuilt on the new HTML Parser, which drastically simplifies it. Note that raw HTML elements with a markdown attribute defined are now converted to ElementTree Elements and are rendered by the serializer. Various bugs have been fixed.

Link reference parsing, abbreviation reference parsing and footnote reference parsing has all been moved from preprocessors to blockprocessors, which allows them to be nested within other block level elements. Specifically, this change was necessary to maintain the current behavior in the rebuilt md_in_html extension. A few random edge-case bugs (see the included tests) were resolved in the process.

Closes #595, closes #780, closes #830 and closes #1012.
</pre>
</div>
</content>
</entry>
<entry>
<title>foot note adjustments (#728)</title>
<updated>2018-10-09T15:00:25+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2018-10-09T15:00:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=908bd07618cec8b63a64f74e50dadb450715832b'/>
<id>908bd07618cec8b63a64f74e50dadb450715832b</id>
<content type='text'>
Add a config to set the footnote separator. Also remove rel/rev as they aren't really compatible with HTML5 and we already have classes set for refs and backrefs.

Fixes 723.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a config to set the footnote separator. Also remove rel/rev as they aren't really compatible with HTML5 and we already have classes set for refs and backrefs.

Fixes 723.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix raw html reference issue (#585)</title>
<updated>2018-01-04T20:07:45+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2018-01-04T20:07:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=1de595a4a9c5536d32d597dba799cd036582af0f'/>
<id>1de595a4a9c5536d32d597dba799cd036582af0f</id>
<content type='text'>
Preserve the line which a reference was on to prevent raw HTML indexing issue. Fixes #584.

Prevent raw HTML parsing issue in abbr and footnotes

Peserve abbreviation line when stripping and preserve a line for each footnote block.  Footnotes should also accumulate the extraneous padding.

Test extra lines at the end of references

Strip the gathered extraneous whitespace

When processing footnotes, we don't actually care to process the extra whitespace at the end of a footnote, but we want it to calculate lines to preserve.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Preserve the line which a reference was on to prevent raw HTML indexing issue. Fixes #584.

Prevent raw HTML parsing issue in abbr and footnotes

Peserve abbreviation line when stripping and preserve a line for each footnote block.  Footnotes should also accumulate the extraneous padding.

Test extra lines at the end of references

Strip the gathered extraneous whitespace

When processing footnotes, we don't actually care to process the extra whitespace at the end of a footnote, but we want it to calculate lines to preserve.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix infinite loop #430</title>
<updated>2015-09-05T01:45:44+00:00</updated>
<author>
<name>facelessuser</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2015-09-05T01:45:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=6cd3765a1d60b6557b9f083b4218fe00287a9329'/>
<id>6cd3765a1d60b6557b9f083b4218fe00287a9329</id>
<content type='text'>
This should fix the remaining corner cases that can cause infinite
loops.  Previous iterations did not account for scenarios where the
“end” index was less than the “start” index.  If the “end” index is
ever less than or equal to the “start” index, the “end” will be
adjusted to to be “start” + 1 allow the full range to be extracted and
replaced.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should fix the remaining corner cases that can cause infinite
loops.  Previous iterations did not account for scenarios where the
“end” index was less than the “start” index.  If the “end” index is
ever less than or equal to the “start” index, the “end” will be
adjusted to to be “start” + 1 allow the full range to be extracted and
replaced.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #368: Fix Markdown in raw HTML stops working</title>
<updated>2014-11-20T01:21:40+00:00</updated>
<author>
<name>facelessuser</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2014-11-20T01:21:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=5d913699758a5815bc114a9e8c08db61eb206a5d'/>
<id>5d913699758a5815bc114a9e8c08db61eb206a5d</id>
<content type='text'>
Originally there was an infinite loop issue that was patched in issue
#308.  Unfortunately, it was fixed all the way.  This fix patches the
infinite loop fix to only add an offset to the `right_listindex` when
it is in a infinite loop scenario.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally there was an infinite loop issue that was patched in issue
#308.  Unfortunately, it was fixed all the way.  This fix patches the
infinite loop fix to only add an offset to the `right_listindex` when
it is in a infinite loop scenario.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix issue308 and fix (unrelated) failure to break out of nest loop.</title>
<updated>2014-05-21T20:01:59+00:00</updated>
<author>
<name>ryneeverett</name>
<email>ryneeverett@gmail.com</email>
</author>
<published>2014-05-21T20:01:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=a47899fd0f8f6086a3682abbbbbd75b60928d8c7'/>
<id>a47899fd0f8f6086a3682abbbbbd75b60928d8c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #52</title>
<updated>2013-10-14T05:38:14+00:00</updated>
<author>
<name>ryneeverett</name>
<email>ryneeverett@gmail.com</email>
</author>
<published>2013-10-03T20:51:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=daa2d46b567e67aa4578a5c26a7d92e4cf5abc81'/>
<id>daa2d46b567e67aa4578a5c26a7d92e4cf5abc81</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved test dir back out of markdown lib. We don't need to install the tests in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc.</title>
<updated>2010-02-12T21:24:15+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2010-02-12T21:24:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=28caf01c8082dbed3a5ca87b070ffe5657514f01'/>
<id>28caf01c8082dbed3a5ca87b070ffe5657514f01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
