onizet / html2openxml

Html2OpenXml is a small .Net library that convert simple or advanced HTML to plain OpenXml components. This program has started in 2009, initially to convert user's comments from SharePoint to Word.
MIT License
306 stars 107 forks source link

Table with ColSpan, empty cell inserted after wrong cell #59

Closed cd-yang closed 3 weeks ago

cd-yang commented 5 years ago

My table:

smrwzz1zz4
zz2
zz3
sm1sm2sm3true
sm4true

After parsing table, empty cell is in 4th column and 2nd row. I found in method 'ProcessClosingTableRow', maybe the commented code in line 1368 caused this problem. Should I call 'NextSibling'? Related issue: #25