Trim link text before setting tooltip: it has lots of spaced.