django/django — pull request #1126 by martmatwarne (2013-05-18 15:07:18+00:00)
Title: truncatechars_html

For ticket #19496 and should now fix the issue of
>>> truncatechars_html('

test

', 5)
u'

t ...

'

Also fixed truncatechars as this had become broken in the original version