A nested list in HTML is inserted into a word document. The result is obviously wrong formatted. Is this a known bug and can this be worked around?
public void testList() throws Exception {
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
String html =
“” +
”;
"- Element 1" +
" +
"" +
" +
"- Element 1.1
" +
"
"
"- Element 2" +
" +
"" +
" +
"- Element 2.1
" +
"
"
“
builder.insertHtml(html);
doc.save(“c:/tmp/aspose/TestList.doc”);
}