TAG:trim

库名最新版本描述
shave5.0.4Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
string.js3.3.3string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.
voca1.4.0The ultimate JavaScript string library
cuttr1.4.3Cuttr is a javascript / jQuery plugin that truncates multi-line text content with multiple truncation methods and custom ellipsis.