Hello, I've upgrade to Aspose.Pdf 7.0 and now when converting HTML with the attached HTML file, Aspose.Pdf throws a System.StackOverflowException. The code is below. The same issue happens with setting the width inline as a style (style="width:95%") or as an attribute, width=500, at the very least it should ignore the value like most browsers and the previous version of Aspose.Pdf.
string htmlFile = @"D:\ErrorGenerating.htm"; System.IO.MemoryStream licMSPDFKit = new System.IO.MemoryStream(System.Text.ASCIIEncoding.Default.GetBytes(licStringPDFKit)); Aspose.Pdf.License LICPDFKit = new Aspose.Pdf.License(); LICPDFKit.SetLicense(licMSPDFKit);Aspose.Pdf.Generator.<span style="color: rgb(43, 145, 175);">Pdf</span> pdf = <span style="color: blue;">new</span> Aspose.Pdf.Generator.<span style="color: rgb(43, 145, 175);">Pdf</span>(); Aspose.Pdf.Generator.<span style="color: rgb(43, 145, 175);">Section</span> section = pdf.Sections.Add(); <span style="color: rgb(43, 145, 175);">StreamReader</span> r = <span style="color: rgb(43, 145, 175);">File</span>.OpenText(textBox1.Text.Trim()); Aspose.Pdf.Generator.<span style="color: rgb(43, 145, 175);">Text</span> text2 = <span style="color: blue;">new</span> Aspose.Pdf.Generator.<span style="color: rgb(43, 145, 175);">Text</span>(section, r.ReadToEnd()); r.Dispose(); text2.IsHtmlTagSupported = <span style="color: blue;">true</span>; section.Paragraphs.Add(text2); pdf.Save(htmlFile.Substring(0, htmlFile.LastIndexOf(<span style="color: rgb(163, 21, 21);">"."</span>)) + <span style="color: rgb(163, 21, 21);">".pdf"</span>);<pre style="background: white; color: black; font-family: Consolas;"> </pre></pre></pre>