Anchor is exported incorrectly in output HTML using .NET

We use Aspose to save word file as HTML. We found that in one scenario, in generated html file, images are placed in the wrong position.
Here is a sample application:
WordTest.zip (84.4 KB)
Steps to reproduce:

  1. Open project in Visual Studio
  2. Set an Aspose license (important)
  3. Run the app and choose destination folder
  4. Press a button. In the destination folder you will find a html file
  5. Open this html file in Notepad to see source code.

Basically the important part looks like this:
image.png (8.3 KB)
We have 2 anchor tags and two img tags. Every img should be inside anchor. But for the first image (anchor) we see that the anchor is empty and the image is inside the second anchor.

The correct result should look like this:
image.png (7.9 KB)

In our application this is important that the image is inside it’s own anchor, so I hope you will be able to fix this problem.
If you need more info, please let me know
Thanks

@mmdevelopment

You are facing the expected behavior of Aspose.Words. Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to HTML using MS Word, you will get the same output.