protected function parseSafeHtml($text) { $purifier = new \HTMLPurifier($this->getConfig()); return $purifier->purify($text); }