Hi GemBox Team,
currently I have some HTML files that cause my application to throw a StackOverflowException.
The application calls “DocumentModel.Load(inputPath).GetPaginator().Pages” using GemBox.Document version 35.0.1920-hotfix.
I tried to narrow it down to a HTML table with two rows, that seems to be causing the issue:
<html>
<body>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width="99%"
style='width:99.0%;mso-cellspacing:0cm;border:none;border-bottom:solid white 4.5pt;
mso-yfti-tbllook:1184;mso-padding-alt:1.5pt 1.5pt 1.5pt 1.5pt'
id="tobit_repfor2" cols=2>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
<td colspan=2 style='border:none;background:white;padding:5.25pt 7.5pt 2.25pt 7.5pt'>
<p class=MsoNormal><strong><span style='font-size:8.0pt;font-family:"Tahoma",sans-serif;
mso-fareast-font-family:"Times New Roman";color:#404040'>Invoice
Nr. 12345</span></strong><span style='font-size:8.0pt;font-family:"Tahoma",sans-serif;
mso-fareast-font-family:"Times New Roman";color:#888888'> October 29
2024, 15:40</span><span style='font-size:8.0pt;font-family:"Tahoma",sans-serif;
mso-fareast-font-family:"Times New Roman";color:#404040'><o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:1'>
<td width="1%" valign=top style='width:1.0%;border:none;background:white;
padding:1.5pt 4.5pt 1.5pt 7.5pt'>
<p class=MsoNormal><strong><span style='font-size:8.0pt;font-family:"Tahoma",sans-serif;
mso-fareast-font-family:"Times New Roman";color:#222222'>Von</span></strong><span
style='font-size:8.0pt;font-family:"Tahoma",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#222222'><o:p></o:p></span></p>
</td>
<td style='border:none;background:white;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Tahoma",sans-serif;
mso-fareast-font-family:"Times New Roman";color:#222222'><a
href="mailto:someone@company.com"><span style='color:#404040'>Some Text</span></a><o:p></o:p></span></p>
</td>
</tr>
</table>
</body>
</html>
This error did not occur in the GemBox.Document version 35.0.1886.
Could you have a look at it?
Kind regards,
Sarah