django/django — pull request #1175 by qris (2013-05-19 14:42:51+00:00)
Title: Fixed #1919 -- filter truncatewords destroys white space

Used @arien's patch and @SmileyChris' comments, integrated with current code, hopefully made even more efficient for long strings by not splitting and rejoining them.

https://code.djangoproject.com/ticket/1919