diff options
author | Urban Müller | 2013-03-27 16:28:55 +0000 |
---|---|---|
committer | Urban Müller | 2013-03-27 16:28:55 +0000 |
commit | cd128b312c1025c4090c0dfe7c3cd0838c5156e8 (patch) | |
tree | 2d6d70f29dadbf41b7bc340d8dc9d9b368ed73d0 /tests | |
parent | e21ed9ee1bbd7134e3539e849de2e36d0ac076f5 (diff) | |
download | itools-cd128b312c1025c4090c0dfe7c3cd0838c5156e8.tar.gz itools-cd128b312c1025c4090c0dfe7c3cd0838c5156e8.tar.bz2 itools-cd128b312c1025c4090c0dfe7c3cd0838c5156e8.zip |
::sanitize test
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/it_html.t | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -170,6 +170,12 @@ is( ); is( + it_html::sanitize('<div></div>'), + '', + 'empty tags removal', +); + +is( U("/foo.html", array('bar' => array('gna' => 42, 'qux' => array('quux' => "<Zürich>", 'gnöp' => "fasel")))), '/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%C3%BCrich%3E&bar[qux][gn%C3%B6p]=fasel', 'U() with nested arrays' |