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

Free Support Forum - aspose.com

HTML is not converted into Word

Hi ,

We are using ASPOSE WORD (Version 21.8) to convert the HTML file to Word document. When we try to load the document into word object its just hanged the process and conversion goes into deadlock.

Sample Code:
var htmlLoadOptions = new Aspose.Words.Loading.LoadOptions();
htmlLoadOptions.Encoding = Encoding.UTF8;
htmlLoadOptions.LoadFormat = Aspose.Words.LoadFormat.Html;
var updatedHtmlFilePath = “html file path”;
doc = new Aspose.Words.Document(updatedHtmlFilePath, htmlLoadOptions);

Can you please look into this issue.

Attached is the sample HTML document.[https://drive.google.com/file/d/1rosq14rcny4hf7yd0hjx3-0jgcjbyhhr/view?usp=sharing]https://drive.google.com/file/d/1rosq14rcny4hf7yd0hjx3-0jgcjbyhhr/view?usp=sharing

@ashishsinghvi,
We have tested the scenario and managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET - 23184. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-23184) have been fixed in this Aspose.Words for .NET 22.1 update also available on NuGet.