diff --git a/phpunit/html/wp-html-processor-test.php b/phpunit/html/wp-html-processor-test.php index 00e8b812f62d17..3a0e1521937f9b 100644 --- a/phpunit/html/wp-html-processor-test.php +++ b/phpunit/html/wp-html-processor-test.php @@ -32,6 +32,13 @@ public function test_find_immediate_child_tag() { $this->assertFalse( $tags->next_within_balanced_tags( 'img', 1 ) ); } + public function test_find_immediate_child_tag2() { + $tags = new WP_HTML_Processor( '