protected function escapeElement($value)
    {
        if (empty($value)) {
            $element = '*';
        } else {
            $element = $this->renderElement($value);
        }

        return self::escapeToken($element);
    }