Bug report: insertHtml doesn't convert the '

When I do a insertHtml("’"); the word document shows ’ instead of ’

This is a common problem in web programming as ’ isn’t a valid entity in HTML but it is in XHTML.

In my opinion insertHtml should replace ’ by ‘.
Doing a simple replaceAll in my html string textHTML.replaceAll("’", “’”); solves the issue.

Hello

Thanks for your request. The XHTML standard recommends you use ’ instead of '. The named character reference ’ (the apostrophe, U+0027) was introduced in XML 1.0. You should therefore use ’ instead of ’ to work as expected in HTML.
Best regards,