Remove any empty lines in the view and fix the indentation.