add truncate_html, for smarter truncation