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