Added truncate class to generated html