public function setAllowedTags($tags)
        {
            if(!is_array($tags)) {
                $tags = [$tags];
            }
            $this->allowedTags = $tags;
            return $this;
        }