use strict;
',"single tag");
<ol>
<li>
fred
</li>
<li>
ethel
</li>
</ol>
HTML
<p>
hi <pre>there</pre> frog
</p>
HTML
<h1 align="CENTER">
fred
</h1>
HTML
<h1 align>
fred
</h1>
HTML
<h1 align="CENTER">
fred
</h1>
<h1 align="CENTER">
agnes
</h1>
HTML
<p>
hi <a href="frog">there</a> frog
</p>
HTML
<p>
hi
</p>
<p>
there
</p>
<p>
frog
</p>
HTML
<p>
<p>
<p>
hi
</p>
there
</p>
frog
</p>
HTML
<table>
<tr>
<td><table>
<tr>
<td>hi there frog</td>
</tr>
</table></td>
</tr>
</table>
HTML
<table>
<tr>
<td><table>
<tr>
<td>hi</td><td>there</td><td>frog</td>
</tr>
</table></td>
</tr>
</table>
HTML
is(h1('fred','agnes','maura'), '<h1>fred agnes maura</h1>',"open/close tag multiple (pretty turned off)");
is(h1({-align=>'CENTER'},'fred'), '<h1 align="CENTER">fred</h1>',"open/close tag with attribute (pretty turned off)");
is(h1({-align=>undef},'fred'), '<h1 align>fred</h1>',"open/close tag with orphan attribute (pretty turned off)");
is(h1({-align=>'CENTER'},['fred','agnes']), '<h1 align="CENTER">fred</h1> <h1 align="CENTER">agnes</h1>',
"distributive tag with attribute (pretty turned off)");