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