Remove tabs and trailing spaces.