From 035e1e94288ce0604765819d503ae88066e95282 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 22 Dec 2009 15:33:41 +0000 Subject: Preserve numeric entities in it_html::sanitize --- tests/it_html.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/it_html.t') 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'), -- cgit v1.2.3