Want to truncate an HTML string properly? This is a PHP port of the html_truncator rubygem.