call and truncated after in template. This truncates in the middle of html tags and produces invalid output.