Removes trailing spaces from assets