summaryrefslogtreecommitdiff
path: root/test/it_html.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/it_html.t')
-rwxr-xr-xtest/it_html.t2
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 = "\"'<>& &amp;";
+is(it_html::entity_decode(Q($str)), $str);
is(it_html::entity_decode("&auml;"), "รค");
is(it_html::entity_decode("&#x4a;"), "J");
is(it_html::entity_decode("&#x4A;"), "J");