diff options
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' |