Expand if to multiple lines

Oneliners are ugly.
Move { to same line
Merge pull request #1182 from owncloud/sanitizeHTML-Clean

Expanded one line if statement - Trivial