protected function preRender(RequireTagInterface $tag)
    {
        if ($this->isNonExistentOptionalTag($tag)) {
            return '';
        }

        $output = $this->doRender($tag, $tag->getPath());
        $output .= $this->preRenderLocalized($tag);

        return $output;
    }