From 25a946b8c2bf6638b7adfe2afa387fa26cb97e71 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 28 May 2024 17:49:09 +0200 Subject: Revert "Improve handling of nested tags in it_html::sanitize": getting "Exceeded pcre.backtrack_limit of 1000000 bytes" This reverts commit b484fab88a9229f7c87ea053564d0d8d3d2a565d. --- test/it_html.t | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'test/it_html.t') diff --git a/test/it_html.t b/test/it_html.t index 380a779..11e05dd 100755 --- a/test/it_html.t +++ b/test/it_html.t @@ -289,18 +289,6 @@ is( 'TODO it_html::sanitize handle anchors with unquoted attribute value in img' ); -is( - it_html::sanitize(''), - '', - 'Nested unordered lists' -); - -is( - it_html::sanitize('

one one

'), - '

one one

', - 'More nested tags' -); - foreach (json_decode(it::file_get_contents(dirname($argv[0]) . '/U_tests.json'), true) as $test) is(U(...$test['args']), $test['exp'], $test['name']); -- cgit v1.2.3