protected function process() { $contents = $this->request['contents']; $contents = \Textmark_Parser::parse($contents); return \Icybee\Kses::sanitizeComment($contents); }
/** * Renders the comment into a HTML string. * * @return string */ public function __toString() { $str = Textmark_Parser::parse($this->contents); return \Icybee\Kses::sanitizeComment($str); }