Product:
PDFNet Windows
Product Version:
9.4.0-fd07a7defc
Please give a brief summary of your issue:
URL is getting encoded when converting HTML into PDF using pdftron.
Please describe your issue and provide steps to reproduce it:
I am using PDFTron SDK for converting HTML URI into PDF.
My issue is when I am converting this HTML into PDF, the URL associated with anchor tag in the HTML is getting encoded. I am using HTML2PDF.Convert(PDFDoc doc, string url) for this purpose.
This URL is a presigned URL of a HTML file in AWS S3 bucket. After conversion this presigned URL is getting encoded while saving as PDF. My problem is when this presigned URL is encoded, it is no longer a valid presigned URL as some extra characters are getting added and when user clicks on those hyperlinks, it throws an error of invalid format. How can keep the URLs in my HTML intact while converting them into PDF using PDFTron sdk?