summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_html.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index 3b4dc2f..883753d 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -99,6 +99,12 @@ is(
'it_html::sanitize tag soup'
);
+is(
+ it_html::sanitize('q←x'),
+ "q←x",
+ 'it_html::sanitize preserve numeric entities'
+);
+
it_html::configure(array('charset' => "utf-8"));
is(
it_html::sanitize('qüx'),