worked on CRM-12709
more work on CRM-12709, fixed profile preview
Merge pull request #895 from kurund/CRM-12709

CRM-12709 fixed display of formatting field in profile