While generating a PDF, link on the cover page is created as a localhost one. Doesn't apply to content link.