Converting html to pdf, error

Hello support team,

Using Aspose.PDF for .NET (latest 21.7). When trying to load specific html for conversion to PDF, we get an error:
System.ArgumentException: Invalid operation.

The specific html content is the html adjusted for emails (specifically for Outlook desktop clients).

The error occurs when trying to load html content with code:
HtmlLoadOptions options = new HtmlLoadOptions();
Document pdfDocument = new Document(htmlStream, options);

See the full error and call stack in the attached file (there are text file inside zip): Aspose.PDF error.zip (3.1 KB)

Also attached the html file: Html content.zip (2.1 KB)

Thank you.
Martin

@martin27

We were able to replicate the similar issue in our environment. Therefore, an issue as PDFNET-50228 has been logged in our issue tracking system for the sake of correction. 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.

The issues you have found earlier (filed as PDFNET-50228) have been fixed in Aspose.PDF for .NET 23.12.