Clean up whitespace when building user links.