public static function make(TagInterface $tag)
    {
        if (
            $tag->getType() === '' and
            $tag->getText() !== ''
        ) {
            return $tag->getText();
        }

        return self::isAutoClosed($tag->getType())
            ? self::open($tag, true)
            : self::open($tag) . $tag->getText() . $tag->renderElements() . self::close($tag);
    }