added a test for complex html stripping because it was reportedly not working

This commit is contained in:
JT Smith 2006-07-21 01:56:56 +00:00
parent 20cd9d45b3
commit 012e6ee84a

View file

@ -40,6 +40,12 @@ my @filterSets = (
type => 'all',
comment => 'all filter HTML',
},
{
inputText => q!<div class="something"><div style="float: left;">This <span>is some</span> <i>text</i> here. Let's&nbsp;see what we get when we add a table.<table><tr><td>a</td><td>b</td></tr><tr><td>c</td><td>d</td></tr></table></div><div>Here's a little more text with <b>bold</b>, <strong>strong</strong>, and <strong><b>bold strong</b></strong>.</div>!,
output => q!This is some text here. Let&#39;s&nbsp;see what we get when we add a table.abcdHere&#39;s a little more text with bold, strong, and bold strong.!,
type => 'all',
comment => 'all filter complex HTML',
},
{
inputText => q!<p>Paragraph</p>^H();!,
output => q!Paragraph&#94;H();!,