diff options
Diffstat (limited to 'tests/it_html.t')
-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 86afbf8..e77a0a1 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -116,6 +116,12 @@ is( ); is( + it_html::sanitize('<b>a<br>b</b>'), + "<b>a<br />b</b>", + 'it_html::sanitize with b and br (tag prefix of other tag bug)' +); + +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%FCrich%3E&bar[qux][gn%F6p]=fasel', 'U() with nested arrays' |