We have a HTM file, simaler to the style of file that you get when you use Word Save As option and select "Web Page".
It is my understanding that Docx4j can convert XHtml into a Docx. in order to get my HTM document into Xhtml format I'm using a tool called JTidy.
However Jtidy doesn't work with the HTM format that I am trying to convert and as a result Docx4j cannot convert the HTM file.
I'm wondering if anyone has some advice, or an alternative tool I can use to get the correct format for Docx4j to successfully create a docx from my HTM.
I can provide examples of anything you require