Reformat links to href