# By Ned Baldessin # Via Joseph J. Schmitt (1) and Ned Baldessin (1) * 'master' of github.com:josephschmitt/Clamp.js: Fix: only truncate elements that need to be (…and don't apply an ellipsis to elements that are short enough to fit in the available space). Conflicts: clamp.js
…on HTML. The truncation character is the character used at the end after clamping has been performed. By default it’s an ellipsis. The truncationHTML property allows you to insert arbitrary HTML before your truncation character. Both of these options require you to turn useNativeClamp off.
…iginal values If you set useNativeClamp to false, the $clamp function now returns an object with two values: clamped and original. clamped contains the clamped text of the node, while original is a copy of the original, unclamped text.
…psis to elements that are short enough to fit in the available space).
… (attempt to) explain the new splitOnChars option.
… sentences (periods), hypens, en-dashes, em-dashes, and words (spaces).
…ing an element by any kind of character (set to space and period by default). This speeds up removal by chunking up by larger sections (such as sentences and words) instead of just character-by-character.
…then adding the last word back and removing character-by-character only on that last word until it fits.