Remove all entities instead of just the special chars before truncating
a string. Fixes #386.

When we need to truncate a string we should remove all entities. For
example &nbsp; should be removed also, otherwise the & will be encoded as
&amp; and therefore it will be shown on the page.