IMPROVED: change a long text ellipsis method