DITA2Go closes each element mapped from a paragraph format when a paragraph in that format ends. For example, even though a DITA list can be inside a <p> element, DITA2Go does not put it there; instead, the <sl> follows the <p>. Only elements that are marked as inline, including elements mapped from character formats, and inline images, are placed within a <p> element.
An interpolated block element stays open until DITA2Go encounters a paragraph that is not valid in that block.
Lists are identified by the format mapped to the list element it populates, such as <li> or <sli>; see §24.4.3 Mapping paragraph formats to DITA block elements, or by the parent of the mapped element; see §24.5.2 Designating DITA ancestor elements. DITA2Go provides the wrappers around the list items and around the whole list.