We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Html to PDF shows ? when html has  

Html to PDF conversion shows black color question mark (?) when html has   in the code. Kindly let know how to fix this or if it is a bug.

Hi there,


Thanks for your inquiry. I have tested the scenario using Aspose.Pdf for .NET 10.6.0 as following and unable to notice the reported issue. Please download latest version of Aspose.Pdf for .NET, it will resolve the issue. However if the issue persist then please share your sample code and HTML text here, we will look into it and guide you accordingly.

// Create Document instance<o:p></o:p>

Document doc = new Document();

// Add page to pages collection of PDF file

Aspose.Pdf.Page page = doc.Pages.Add();

page.Paragraphs.Add(new HtmlFragment("

      This first line of text is supposed to be indented. However, many browsers will not render it as intended.

"));

// Save PDF file

doc.Save(myDir+"HtmllineAdded.pdf");

Best Regards,