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