added a test for complex html stripping because it was reportedly not working
This commit is contained in:
parent
20cd9d45b3
commit
012e6ee84a
1 changed files with 6 additions and 0 deletions
6
t/HTML.t
6
t/HTML.t
|
|
@ -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 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's see what we get when we add a table.abcdHere'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^H();!,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue