we are generating some word documents using DocIO and Mail Merge. The XHTML is coming from your RTE Element and stored in a database. Unforunately we have some older Entries there from the RTE when there was no EnableXHTML() Feature. This ist throwing some exceptions with invalid <br> or <img ...>, ...
We have tried many approaches to get this HTML fixed in MVC with many Packages, but there seems to be no up-to-date solution for this except developing some custom solution on our own. Is there some tool in your products to validate or even fix html strings before inserting them into the document?