Front-end module to shorten multiple lines of text with ellipses