ellipsize
Ellipsizes a string at the nearest whitespace character near the end of allowed length
Ellipsizes a string at the nearest whitespace character near the end of allowed length
truncates a html string without messing up the tags
Customizable React component that can shorten long text using str_shorten library for better display