Commit e353be51 authored by Fred Drake's avatar Fred Drake

Update the HTML test to ensure that automagical placement of end tags
only happens for implied end tags and not all end tags in the affected
group.

This also corrects for the bug where paragraph-level tags would close
themselves (before they opened!) if they implicitly closed anything at
all.
parent 8d8e57a5
<html xmlns:metal="xmlns:metal">
<body>
<p metal:fill-slot="metal:fill-slot">
Just a bunch of text.
</p></p><p>more text...
Just a bunch of text.</p>
<p>more text...</p>
<ul>
<li>first item
</li><li>second item
<li>first item</li>
<li>second item
<ol>
<li>second list, first item
</li><li>second list, second item
<li>second list, first item</li>
<li>second list, second item
<dl compact="compact">
<dt>term 1
</dt><dt>term 2
</dt><dd>definition
</dd></dl>
</li></ol>
<dt>term 1</dt>
<dt>term 2</dt>
<dd>definition</dd>
</dl></li>
</ol></li>
</li><li>Now let's have a paragraph...
<p>My Paragraph
<li>Now let's have a paragraph...
<p>My Paragraph</p>
</li>
</p></li><li>And a table in a list item:
<li>And a table in a list item:
<table>
</table>
</li></ul>
</table></li>
</ul>
</body>
</html>
......@@ -20,6 +20,7 @@
<li>Now let's have a paragraph...
<p>My Paragraph
</li>
<li>And a table in a list item:
<table>
......
<html xmlns:metal="xmlns:metal">
<body>
<p metal:fill-slot="metal:fill-slot">
Just a bunch of text.
</p></p><p>more text...
Just a bunch of text.</p>
<p>more text...</p>
<ul>
<li>first item
</li><li>second item
<li>first item</li>
<li>second item
<ol>
<li>second list, first item
</li><li>second list, second item
<li>second list, first item</li>
<li>second list, second item
<dl compact="compact">
<dt>term 1
</dt><dt>term 2
</dt><dd>definition
</dd></dl>
</li></ol>
<dt>term 1</dt>
<dt>term 2</dt>
<dd>definition</dd>
</dl></li>
</ol></li>
</li><li>Now let's have a paragraph...
<p>My Paragraph
<li>Now let's have a paragraph...
<p>My Paragraph</p>
</li>
</p></li><li>And a table in a list item:
<li>And a table in a list item:
<table>
</table>
</li></ul>
</table></li>
</ul>
</body>
</html>
......@@ -20,6 +20,7 @@
<li>Now let's have a paragraph...
<p>My Paragraph
</li>
<li>And a table in a list item:
<table>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment