#### 24.4.7 Preserving whitespace in block elements

To make sure content will be processed with whitespace preserved:

    [DITAPreformatted]
    ; element name = Yes (default for <codeblock>)
    ;  or No (default for all other block elements)
    codeblock = Yes

When elementname=Yes, DITA2Go processes the element in question with whitespace unchanged, as in HTML <pre> elements (see §30.8 Configuring preformatted text for HTML/XML).

Previous Topic: 24.4.6.6 Providing outputclass attributes for all elements

Next Topic: 24.5 Nesting DITA block elements

Parent Topic: 24.4 Configuring DITA elements

Sibling Topics:

24.4.1 Understanding how DITA2Go delimits DITA elements

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