diff options
author | Urban Müller | 2025-02-27 01:00:14 +0100 |
---|---|---|
committer | Urban Müller | 2025-02-27 01:02:43 +0100 |
commit | 229f280740af0e96dfa4ff33f49393cf518049e6 (patch) | |
tree | 96dc9452722b491dbd83d4c79960cc32d69cdde9 /test | |
parent | 48291d1064105f40bd72e5ede776d94c25178e32 (diff) | |
download | itools-229f280740af0e96dfa4ff33f49393cf518049e6.tar.gz itools-229f280740af0e96dfa4ff33f49393cf518049e6.tar.bz2 itools-229f280740af0e96dfa4ff33f49393cf518049e6.zip |
Diffstat (limited to 'test')
-rwxr-xr-x | test/it_html.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/it_html.t b/test/it_html.t index 19b892c..15f444d 100755 --- a/test/it_html.t +++ b/test/it_html.t @@ -292,6 +292,8 @@ is( foreach (json_decode(it::file_get_contents(dirname($argv[0]) . '/U_tests.json'), true) as $test) is(U(...$test['args']), $test['exp'], $test['name']); +$str = "\"'<>& &"; +is(it_html::entity_decode(Q($str)), $str); is(it_html::entity_decode("ä"), "ä"); is(it_html::entity_decode("J"), "J"); is(it_html::entity_decode("J"), "J"); |