From 48291d1064105f40bd72e5ede776d94c25178e32 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 26 Feb 2025 18:04:24 +0100 Subject: decode all html entities including ' --- test/it_html.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/it_html.t b/test/it_html.t index 11e05dd..19b892c 100755 --- a/test/it_html.t +++ b/test/it_html.t @@ -296,6 +296,11 @@ is(it_html::entity_decode("ä"), "ä"); is(it_html::entity_decode("J"), "J"); is(it_html::entity_decode("J"), "J"); is(it_html::entity_decode("A"), "A"); +is(it_html::entity_decode('"'), '"'); +is(it_html::entity_decode('''), "'"); +is(it_html::entity_decode('<'), "<"); +is(it_html::entity_decode('>'), ">"); +is(it_html::entity_decode('&'), "&"); # tests for itools extension is(table(null), "