adding trim to link titles to remove annoying whitespace