eentzel/htmltruncate.py — pull request #2 by chadpaulson (2013-09-14 05:18:23+00:00)
Title: Adds ability to truncate to the nearest full word.

Optional 'full_word' param added to truncate method returns partial string shortened to the nearest word.