[feature] Normalize spaces function.