Edit links due to PDF generation