public function renderTags() : string
    {
        $output = '';
        $vars   = ['{{name}}', '{{value}}'];
        foreach ($this->tags as $tag) {
            $name = $tag->name;

            if ($tag->prefixed) {
                $name = self::NAME_PREFIX.$name;
            }

            $output .= str_replace($vars, [$name, $tag->value], $this->template);
        }

        return $output;
    }