If there is a nested <ol>
tag inside an another <ol>
and there is no text enter before the nested <ol>
, Aspose does not create a <li>
for the nested <ol>
but instead add it to the previous <li>
. e.g. if I have a Html as below
<html>
<body>
<ol>
<li>List 1</li>
<li>List 2</li>
<li>
<ol>
<li>Nested List 1</li>
<li>Nested List 2</li>
</ol>
</li>
</body>
</html>
Output:
1. List 1
1. Nested List 1
2. Nested List 2
What I can see after debugging in to the Aspose Word Object model, Aspose actually add an empty <p>
instead of <li>
.
Any idea?
Regards
Riaz Afridi