        }
    }

    public function executeTags(){
        if(in_array($this->template->getFileInfo()["extension"], $this->template->getAllowedExtensionsForTags())){
            $this->getTags($this->dom);
        }