Apply ellipsis to multi-line text