Fix formatting of links in headers