Fixed whitespace issue causing trueish results in templates.

For example: profiles would show labels with no content.
Merge pull request #1127 from Beanow/hotfix/whitespace-issue

Fixed whitespace issue causing trueish results in templates.