serby/trunky — pull request #3 by bengourley (2012-03-26 11:49:47+00:00)
Title: Custom ellipsis string and tests

As discussed:

- `truncateWithEllipsis()` now takes an optional third argument which is the string to use as the ellipsis char. This defaults to `…`.
- Minor version bump and tests updated to reflect this change/compatibility breakage
- Regression tests for behaviour with no suitable word break
- Added some tests for `stripTags()`