Proper display of links in references