I tried using DocumentBuilder.InsertHTML but the final document missed out on all the bullets points… Attached is the HTML file
Is this a problemwith me or Aspose.Words?
Thanks
Mo
Hi
Thanks for your request. I have tried to insert html list using InsertHtml method and it seems that all works fine on my side. I have used the following code for testing.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertHtml("
");
doc.Save(@"258_98186_mo.kamioner\out.doc");
Also, please, reattach your html file.
Best regards.
I reattached the file.
Hi
Thanks for additional information. I will investiget it and try to help you.
Best regards.
Hi
The problem
occurs because the text in string html = File.ReadAllText(@"258_98186_mo.kamioner\in.html"); html = html.Replace("", ""); Document doc = new Document(); DocumentBuilder builder = new DocumentBuilder(doc); builder.InsertHtml(html); doc.Save(@"258_98186_mo.kamioner\out.doc"); Best
regards.
As far as I can tell this algorithm will remove the open tags but not the close tags… This can lead to a lot of problems with a document.
Perhaps the InsertHTML bookmark should allow for DIV tags to be in LI tags. After all, this was made with FreeTextBox, a highly reliable source of HTML coding and this seems like something that is common
Mo
Hi
Thanks for your reporting this problem to us. I have logged this problem to our defect database as issue # 3902. Please expect a reply before the next hotfix (within 2-3 weeks). We might just fix it by then or provide more information
Best regards.
The issues you have found earlier (filed as WORDSNET-1405) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(5)