15.5.11 Configuring multi-paragraph list items
By default, at the end of each paragraph Mif2Go closes the block element to which the paragraph format is mapped (see §15.4.3 Mapping paragraph formats to DITA block elements). If any list items in your document include multiple paragraphs or sublists, you must make sure that each <li> can include more than one block element, but also that the last item in each list or sublist does not slurp up any following paragraphs.
Map formats to <p> instead of <li>.
Specify ancestry for each format.
Make each format first in <li>.
Make sure each list ends where it should.
Map formats to <p> instead of <li>
Map all list-item paragraph formats to <p> rather than to <li>; for example:
Specify ancestry for each format
Designate the appropriate ancestors for each type of list element:
Make each format first in <li>
Make sure each list-item paragraph is first in its <li> element:
Make sure each list ends where it should
If the last paragraph in a multi-paragraph list item is followed by a paragraph whose format is mapped to an element that is valid in <li>, that paragraph will be included in the list item. To prevent including the following paragraph, you can explicitly close the list:
Or insert a DITACloseAfter marker in the last list-item paragraph, with content ul li.
As an alternative, you can make sure the list closes before the following paragraph:
Or insert a DITACloseBefore marker in the following paragraph, with content ul ol.
> 15 Converting to DITA XML > 15.5 Nesting DITA block elements > 15.5.11 Configuring multi-paragraph list items