diff options
author | Christian Schneider | 2008-11-04 14:01:58 +0000 |
---|---|---|
committer | Christian Schneider | 2008-11-04 14:01:58 +0000 |
commit | 5ceb7642fac777226ca0462bb74c299dd2e397b9 (patch) | |
tree | c63617387872ca0683862704e07ce72c654f6e30 /tests/it_html.t | |
parent | 066062809369b5c3185bc0636d08bff7fc434892 (diff) | |
download | itools-5ceb7642fac777226ca0462bb74c299dd2e397b9.tar.gz itools-5ceb7642fac777226ca0462bb74c299dd2e397b9.tar.bz2 itools-5ceb7642fac777226ca0462bb74c299dd2e397b9.zip |
Simplify regex and make sure test catches CR
Diffstat (limited to 'tests/it_html.t')
-rwxr-xr-x | tests/it_html.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/it_html.t b/tests/it_html.t index b560ed1..7426a0d 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -93,7 +93,7 @@ is( ); is( - it_html::sanitize(' <p><a href="http://www.flickr.com/people/swisspics/">swisspics</a> posted < < ä & yesterday <b>a <i>photo</i></b> <b><i>tag missmatch</b></i>:</p><br><BR /> + it_html::sanitize(" \r \n " . ' <p><a href="http://www.flickr.com/people/swisspics/">swisspics</a> posted < < ä & 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> '), |