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)
<html>
<body>
<div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>
27 DIV Tags
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</body>
</html>