remove all empty lines in views except those before and after documentation