Document.selfClosedElements

List of elements that can be assumed to be self-closed in this document. The default for a Document are a hard-coded list of ones appropriate for HTML. For XmlDocument, it defaults to empty. You can modify this after construction but before parsing.

class Document
string[] selfClosedElements;

Meta

History

Added February 8, 2021 (included in dub release 9.2)