protected function parseNode($html) { $tags = $this->DeviseParser->getDeviseTags($html); foreach ($tags as $tag) { $html = str_replace($tag->value, '', $html); } return $html; }