Strip extra whitespace from sharing services.