convert($input); $this->assertEquals( file_get_contents(__DIR__ . '/../../data/formattest.html'), $output ); } public function testXSS() { $input = file_get_contents(__DIR__ . '/../../data/xss.tomboynotecontent'); $converter = new OCA\Grauphel\Lib\Converter\Html(); $output = $converter->convert($input); $this->assertEquals( file_get_contents(__DIR__ . '/../../data/xss.html'), $output ); } } ?>