diff options
author | Christian Schneider | 2008-12-08 17:18:12 +0000 |
---|---|---|
committer | Christian Schneider | 2008-12-08 17:18:12 +0000 |
commit | 8c3977ce0f6395eb79be1b2579830b4193ea1605 (patch) | |
tree | 22f59cc61ee445e0e4e15aa0f7616af0e80aea08 /tests/it_html.t | |
parent | 5502f0e89648b4de978d70c5841c340830ec7943 (diff) | |
download | itools-8c3977ce0f6395eb79be1b2579830b4193ea1605.tar.gz itools-8c3977ce0f6395eb79be1b2579830b4193ea1605.tar.bz2 itools-8c3977ce0f6395eb79be1b2579830b4193ea1605.zip |
Fix it_html::sanitize with b/br combination (tag prefix of other tag bug)
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' |