JoliTypo\Tests\JoliTypoTest::testHtmlComments PHP Метод

testHtmlComments() публичный Метод

public testHtmlComments ( )
    public function testHtmlComments()
    {
        $fixer = new Fixer(array('Ellipsis'));
        $this->assertEquals('<p>Coucou&hellip;</p> <!-- Not Coucou... -->', $fixer->fix('<p>Coucou...</p> <!-- Not Coucou... -->'));
        // This test can't be ok, DomDocument is encoding entities even in comments (╯°□°)╯︵ ┻━┻
        //$this->assertEquals("<p>Coucou&hellip;</p> <!-- abusé -->", $fixer->fix("<p>Coucou...</p> <!-- abusé -->"));
    }