Fix whitespace issues in views