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

Free Support Forum - aspose.com

Nested DIV Tags slow Conversion Significantly

Each sucessive DIV tag makes the conversion twice as long. At 27 deep processing time starts to take minutes. DIV tags this deep were noticed processing HTML email bodies.

Sampe Code Fragment:
using (var document = new Aspose.Html.HTMLDocument(“DIVs.htm”))
Aspose.Html.Converters.Converter.ConvertHTML(document, new PdfSaveOptions(), “DIVs.pdf”);

Sample HTML (DIVs.htm: 27 Nested Divs)
27 DIV Tags


We were able to observe the issue in our environment and logged it as HTMLNET-2753 in our issue tracking system. We will further look into its details and keep you informed about its rectification status. Please be patient and spare us some time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as HTMLNET-2753) have been fixed in Aspose.HTML for .NET 20.8.