parser = new Parser(); } public function testHtmlEscaping() { $this->markTestIncomplete('This tests a very deep escaping capability of the wrapped library @todo'); $text = <<a tag injection EOF; $html = <<<a>a tag injection</a>

EOF; $this->assertEquals($html, $this->parser->transform($text)); } public function testScriptEscaping() { $this->markTestIncomplete('This tests a very deep escaping capability of the wrapped library @todo'); $text = <<alert("haha"); EOF; $html = <<assertEquals($html, $this->parser->transform($text)); } }