assertEquals( $cleaner->cleanHTML('
wrong nesting
'), 'wrong nesting
', "HTML cleaned properly" ); $this->assertEquals( $cleaner->cleanHTML('unclosed paragraph'), '
unclosed paragraph
', "HTML cleaned properly" ); } else { $this->markTestSkipped('No HTMLCleaner library available (tidy or HTMLBeautifier)'); } } }