protected function doClean(Item $item) { $item->setIntro(strip_tags($item->getIntro(), $this->allowedTags['intro'])); $item->setContent(strip_tags($item->getContent(), $this->allowedTags['content'])); return $item; }