Cutter.js is a JavaScript class that allows us to accomplish this on the client-side without losing markup.
The class cuts the content to the number of requested words and if needed puts a link to open the full content again and, if wanted, places a link to open the full content.
It is a standalone + lightweight resource (1.5kb gzipped) and works cross-browser.
Requirements: No Requirements
Compatibility: All Major Browsers
Website:http://tcorral.github.com/Cutter.js/
Download:https://github.com/tcorral/Cutter.js/
via webresourcesdepot