I’m attempting to save a Word document as HTML. Prior to saving, I run a doc.range.replace to replace certain items in the document. One thing I’m trying to do is add an HTML comment, such as:
<!-- some_comment -->
So that in the HTML output, it retains this correctly as an HTML comment. However, it seems to be converting it to the following:
<!-- some_comment -->
How do I force it not to convert to the above and just save exactly what I originally replaced with?