viralpatel/jquery.shorten — pull request #17 by lucian-lcr (2014-07-21 10:01:31+00:00)
Title: Set a minimum length of the hidden text.

Often, it does not make sense to hide 2 or 3 characters. In this cases, one prefer to show the entire text (102 chars), rather then 100 chars + the more tag.
I solved this problem by just inserting a new configuration variable - minHideChars - and test the length of the string (line:69) against "config.showChars + config.minHideChars", rather than just config.showChars.

Hope it helps others too!