Clean unwanted white spaces from lists.