CRM-12551, fixed datatable break due to tab character's

also whitespace cleanup for template