From cd128b312c1025c4090c0dfe7c3cd0838c5156e8 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 27 Mar 2013 16:28:55 +0000 Subject: ::sanitize test --- tests/it_html.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/it_html.t b/tests/it_html.t index bc3f8e5..bcd1f48 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -169,6 +169,12 @@ is( 'it_html::sanitize with b and br (tag prefix of other tag bug)' ); +is( + it_html::sanitize('
'), + '', + 'empty tags removal', +); + is( U("/foo.html", array('bar' => array('gna' => 42, 'qux' => array('quux' => "", 'gnöp' => "fasel")))), '/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%C3%BCrich%3E&bar[qux][gn%C3%B6p]=fasel', -- cgit v1.2.3