Left to right mark (‎) not getting decoded correctly when converting html to pdf

We are using the Aspose.Words and Aspose.PDF nuget packages to convert HTML to PDF. We have full licenses (.lic files). We are seeing an issue with the latest version of the Aspose packages, where the left to right mark is not getting encoded correctly. Please see the images and our code to convert below.

Original HTML:
HTML.png (2.0 KB)
Converted PDF:
PDF.png (19.5 KB)

C# Code:
var formByteArray = System.Text.Encoding.UTF8.GetBytes(payload.FormHtml);
var formDataStream = new MemoryStream(formByteArray);
var doc = new Aspose.Pdf.Document(formDataStream, htmlLoadOptions);

Can someone please guide if this is a known issue or if there is any other way to make this work?

@Mohit.Samant

Would you kindly share your sample HTML with us so that we can test the scenario in our environment and address it accordingly.

Thanks for the quick response. I’ve attached the file below, just change the extension from .pdf to .html as .html attachments are not accepted on this forum. Also, an example snippet causing the issue is below. Specifically, it’s the datetime ‎6‎/‎25‎/‎2020‎ ‎5‎:‎28‎:‎53‎ ‎PM which is encoded as "‎6‎/‎25‎/‎2020‎ ‎5‎:‎28‎:‎53‎ ‎PM" in UTF-8 but it’s not getting correctly mapped in the generated PDF (See above PDF.png image).

<td class="\&quot;dgrid-cell" dgrid-cell-padding="" dgrid-column-lastmodified="" field-lastmodifiedtimestamp\"="" role="\&quot;gridcell\&quot;">‎6‎/‎25‎/‎2020‎ ‎5‎:‎28‎:‎53‎ ‎PM</td>

Sample.html (32.5 KB)Preformatted text

@Mohit.Samant

Thanks for sharing sample file.

We were able to reproduce the issue in our environment and logged it as PDFNET-48602 in our issue management system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

@asad.ali

Thanks for acknowledging this issue. Can you please let us know if there is an ETA on the fix for this issue? Is there any other workaround for this? This is preventing us from going live with the planned enhancement.

@Mohit.Samant

The ticket has been logged under normal support model and will be resolved on first come first serve basis. We cannot share any ETA as ticket is pending for analysis. As soon as it is fully investigated, we will surely inform you about the updates regarding the ETA or resolution. Please spare us some time.

We are sorry for the inconvenience.