summaryrefslogtreecommitdiff
path: root/tests/it_html.t
diff options
context:
space:
mode:
authorChristian Schneider2009-12-22 15:33:41 +0000
committerChristian Schneider2009-12-22 15:33:41 +0000
commit035e1e94288ce0604765819d503ae88066e95282 (patch)
tree2d472e4ce0f987d096516b938a28d02d7cfe2856 /tests/it_html.t
parent19a05d54ff55808411458e7c516df2f3e8ac0f92 (diff)
downloaditools-035e1e94288ce0604765819d503ae88066e95282.tar.gz
itools-035e1e94288ce0604765819d503ae88066e95282.tar.bz2
itools-035e1e94288ce0604765819d503ae88066e95282.zip
Preserve numeric entities in it_html::sanitize
Diffstat (limited to 'tests/it_html.t')
-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'),