Register missing html_truncate helper