strip white space for the link