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 into templated Word.
MIT License
321 stars 109 forks source link

Table element not detected within a html string #45

Closed Geek-5 closed 5 years ago

Geek-5 commented 5 years ago

If a table element is stripped of all its attributes and passed through the ParseHtml method, should the HtmlToOpenXml.TableContext property "tables" be populated with the table element and it's contents or is this property used for something else besides detecting a table in a html string? When I pass a table element through the parser, the table element is not recognized as a table; instead as a paragraph within the html string.