Format hrefs when printing references