Fix the format of the links.