summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Schneider2007-11-08 18:31:26 +0000
committerChristian Schneider2007-11-08 18:31:26 +0000
commitca21b5880520c55091720f03b5aaffcab85081d3 (patch)
tree8a6b3d1b4b7c9fbda6e1040e37f2464fe30bbf17 /tests
parent036512e56327b8813da1a5c5f4f60de435d12554 (diff)
downloaditools-ca21b5880520c55091720f03b5aaffcab85081d3.tar.gz
itools-ca21b5880520c55091720f03b5aaffcab85081d3.tar.bz2
itools-ca21b5880520c55091720f03b5aaffcab85081d3.zip
Always lowercase HTML tags in it_html::sanitize()
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_html.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index cd934be..e87df48 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -81,9 +81,9 @@ is(
);
is(
- it_html::sanitize(' <p><a href="http://www.flickr.com/people/swisspics/">swisspics</a> posted < &lt; &auml; &amp; yesterday <b>a <i>photo</i></b> <b><i>tag missmatch</b></i>:</p><br><br />
+ it_html::sanitize(' <p><a href="http://www.flickr.com/people/swisspics/">swisspics</a> posted < &lt; &auml; &amp; yesterday <b>a <i>photo</i></b> <b><i>tag missmatch</b></i>:</p><br><BR />
-<p><a href="javascript:window.close()" title="Wolken"><img src="http://farm1.static.flickr.com/177/377214376_bcba167a7d_m.jpg" width="240" height="180" alt="Wolken" style="border: 1px solid #ddd;" /></a></p>
+<P><a href="javascript:window.close()" title="Wolken"><img src="http://farm1.static.flickr.com/177/377214376_bcba167a7d_m.jpg" width="240" height="180" alt="Wolken" style="border: 1px solid #ddd;" /></a></p>
'),
' <a href="http://www.flickr.com/people/swisspics/">swisspics</a> posted &lt; &lt; ä &amp; yesterday a <i>photo</i> <i>tag missmatch</i>:<br /><br /> <p><img src="http://farm1.static.flickr.com/177/377214376_bcba167a7d_m.jpg" alt="" /></p> ',
'it_html::sanitize tag soup'