Truncate is a JavaScript plugin built for the jQuery library. It conserves space, preserves HTML, and is only 3KB.
Pull request Compare This branch is even with gravis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CHANGELOG.textile
README.textile
index.html
jquery-1.4.2.min.js
jquery.truncate-2.3.2.pack.js
jquery.truncate.js
styles.css

README.textile

jQuery Truncate

This repo is a fork from the jQuery Truncate lib from Brian Reindel.

I’ve corrected a bug when truncated text doesn’t have any space. I’m really not a javascript expert, feel free to correct / improve this code !