We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bullets do not render correctly in Word to HTML conversion


I am creating a word document from RTF and then saving that word document to HTML
but the Bullets in the word document do not look correct in the HTML. In the HTML they look like a Question mark inside a box - [?]

I am using Aspose Word v11.11.0.0

here’s the C# code:

string OutHtmlFileParth = “c:\test.html”;

byte[] byteArray = Encoding.ASCII.GetBytes(RtfContent);
MemoryStream stream = new MemoryStream(byteArray);

Aspose.Words.Document doc = new Aspose.Words.Document(stream);

Aspose.Words.Saving.HtmlSaveOptions htmlSaveOptions = new Aspose.Words.Saving.HtmlSaveOptions(SaveFormat.Html);
htmlSaveOptions.ExportRelativeFontSize = true;
htmlSaveOptions.PrettyFormat = true;
doc.Save(OutHtmlFileParth , htmlSaveOptions);

Hi Nitin,

Thanks for your inquiry. I would suggest you please upgrade to the latest version (v13.2.0) from here and let us know how it goes on your side. If the problem still remains, please attach your input RTF document here for testing. Please also share the browser (version) in which you are checking the output html. I will investigate the issue on my side and provide you more information.