Free Support Forum - aspose.com

Html convertion to docx drops "<->"

Aspose.Words
runtime v1.1.4322
version 8.0.0.0

I convert html to a docx and it removes some of my text. The user has a “<->” as part of the html text and that renders fine in a browser. After the docx convertion it is gone.

Attached is a zip file with the html input and the resulting docx output.

Thanx
H

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. It is not correct to use “<” and “>” in HTML. “<” and “>” should be used instead. Please see the following link.

http://www.w3schools.com/HTML/html_entities.asp

Best regards.