diff options
-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"); |