Remove unneeded spaces from `pre`.