NOJIRA - fix whitespace issues in profile html

**Note** - for sprint 40 - make sure the QA branch has been created