trim whitespace btwn links