Small change to truncate_html helper.