Preserve Line Breaks between Tables during Converting HTML File into Word (DOCX, DOC etc) using C# .NET

Just trying to convert html file into word document but word file is not preserve line break after table.
Even try to add manually line break after each table but it’s not working
code :
DocumentBuilder builder = new DocumentBuilder(doc);
foreach (Table table in tables)
Node node = table.NextSibling;
builder.Write(“Text wrapping breaks”);
Note: attached html (964 Bytes)


You are right; the following simple C# code of Aspose.Words for .NET does not preserve the line breaks between Tables during converting HTML file into Word (DOCX, DOC etc) documents:

Document doc = new Document("C:\\Temp\\template\\template.html");

For the sake of any correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-21038. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.