Fix broken links in HTML & PDF output