#### 24.4.1 Understanding how DITA2Go delimits DITA elements

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.

Previous Topic: 24.4 Configuring DITA elements

Next Topic: 24.4.2 Treating format names as DITA element names

Parent Topic: 24.4 Configuring DITA elements

Sibling Topics:

24.4.2 Treating format names as DITA element names

24.4.3 Mapping paragraph formats to DITA block elements

24.4.4 Mapping character formats to DITA inline elements

24.4.5 Assigning multiple typographic elements to a format

24.4.6 Assigning attributes to DITA elements

24.4.7 Preserving whitespace in block elements