fixed bug in changed truncate function
replaced "..." with html entity "&hellip;"