Reformat links