##### 24.4.3.4 Omitting invalid tags for default DITA block elements

Some DITA block elements allow only #PCDATA, not paragraph tags. When a “normal” paragraph must be placed inside one of these blocks, the paragraph tag should be omitted.

For enclosing block elements that allow mixed content, you can avoid this problem by directing DITA2Go to omit the default paragraph tags instead of interpolating a parent.

To omit invalid default paragraph tags where mixed content is allowed:

    [DITAOptions]
    ; DropInvalidParaTag = No (default) or Yes (if the para tag is the
    ;  default DefParaElem <p> and is invalid, but #PCDATA is valid,
    ;  drop the tag)
    DropInvalidParaTag = Yes

See also:

§24.5.3 Fixing up interpolated ancestries

Previous Topic: 24.4.3.3 Specifying a default element for unmapped paragraph formats

Next Topic: 24.4.3.5 Overriding element mapping for paragraph formats

Parent Topic: 24.4.3 Mapping paragraph formats to DITA block elements

Sibling Topics:

24.4.3.1 Assigning DITA elements to paragraph formats

24.4.3.2 Omitting element tags for selected paragraph formats

24.4.3.3 Specifying a default element for unmapped paragraph formats

24.4.3.5 Overriding element mapping for paragraph formats

24.4.3.6 Providing aliases for paragraph formats

24.4.3.7 Mapping paragraph format aliases to different elements

24.4.3.8 Mapping paragraph format aliases algorithmically

24.4.3.9 Mapping several paragraphs formats to the same element