By default, DITA2Go includes the content of <draft-comment> elements in output.
To exclude <draft-comment> content from output:
[ElementOptions]
; KeepDraftComments = Yes (default, include draft-comment content
; in output) or No (exclude draft-comment from output)
KeepDraftComments = No
When KeepDraftComments=Yes (the default), DITA2Go treats <draft-comment> as an inline element; however, it is one of those elements that can contain “pernicious mixed content”: both block and inline elements, and also text.
By default, DITA2Go maps <draft-comment> content to a format that makes it easy to spot in the output:
[InlineFormatMaps]
draft-comment/* = DraftComment
And in system format configuration files, DITA2Go defines this format as follows:
[DraftComment]
display = inline
color = red
You can override this definition in a local format configuration file.
However, if there are any other block or inline formats within <draft-comment>, they will override its format, unless you assign a format for each; for example:
[BlockFormatMaps]
p/draft-comment/* = DraftPara