I experience an issue in Capella 1.4.2 with M2Doch 3.2.0.
Some of my element descriptions have bullet point lists with more than one level.
For the element (a diagram), I use the query diagram.documentation.fromHTMLBodyString().
The content gets exported correctly, but all are set to level 1.
For example, the description
- Level 1
- Level 2
- Level 3
gets exported as
- Level 1
- Level 2
- Level 3
Did I do something wrong or is this a problem on M2Doc’s side?
It could be a bug in the HTML to docx conversion. Do you have the HTML code you are trying to convert ?
If you want to have a look at some working examples, you can check the ol tests and ul tests. The doc.html is inserted in the generated document.
Can you open the “Documentation” tab in the properties view. It should contains the HTML code of your description. If you can past the part regarding the bullet list problem, I might be able to find what is wrong.
The HTML code seems to be correct (which is why Capella displays it correctly). So I assume something goes wrong in the .fromHTMLBodyString() function.