protected function highlightCode($matches) { $text = html_entity_decode($matches[2], ENT_QUOTES, 'UTF-8'); $this->setLanguage($matches[1]); return parent::processText($text); }