Document.inlineElements

List of elements that are considered inline for pretty printing. The default for a Document are hard-coded to something appropriate for HTML. For XmlDocument, it defaults to empty. You can modify this after construction but before parsing.

class Document
immutable(string)[] inlineElements;

Meta

History

Added June 21, 2021 (included in dub release 10.1)

Changed from string[] to immutable(string)[] on February 4, 2024 (dub v11.5) to plug a hole discovered by the OpenD compiler's diagnostics.