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
297 stars 106 forks source link

ParseHtml throws exception when using Dotx styles #98

Closed RoelVerhees closed 4 days ago

RoelVerhees commented 3 years ago

Hey guys,

After we have updated the package to the latest version, we experience errors. The package is used to go from HTML to OpenXML and we also use a DOTX file that contains custom styles.

As soon as we refer to the custom styles in the HTML, we get an error during the conversion. For referencing we use the class attribute, this works for an H1 but not for a custom style for a table.

I have rolled back the package and the problem has been fixed immediately.

onizet commented 4 days ago

This is now fixed