Free Support Forum -

Conversion Woes

I’m trying to convert a Word document to an HTML document. My code is very simple:

Aspose.Word.Document doc = new Aspose.Word.Document(“C:\inetpub\wwwroot\wordtest\test.doc”);
doc.Save(“C:\inetpub\wwwroot\wordtest\test.html”, Aspose.Word.SaveFormat.FormatHtml);

This simply has 2 paragraphs, each with 1 sentence. Each sentence has some formatting applied to certain words. The resulting HTML is:

Hello this is paragraph 1.

R>,Fw:And this is paragraph 2.

This is fine, except for the R>,Fw; part. This is not part of the text.

I can provide the word document if you need it.



The garbage text is part of the evaluation version waterkmark, see