DomParserSettings

Wrapper around dom parser settings.

Constructors

this
this(bool strictParsing, string[] flexibleTags, bool allowSelfClosingTags, string[] selfClosingTags, string[] standardTags, string[] headRepairTags, string[] bodyRepairTags)

Creates a new dom parser setting.

Members

Functions

isBodyTag
bool isBodyTag(string tagName)

Checks whether a specific tag is located in the body section or not.

isFlexibleTag
bool isFlexibleTag(string tagName)

Checks whether a specific tag is flexible or not.

isHeadTag
bool isHeadTag(string tagName)

Checks whether a specific tag is located in the head section or not.

isSelfClosingTag
bool isSelfClosingTag(string tagName)

Checks whether a specific tag is self-closing or not.

isStandardTag
bool isStandardTag(string tagName)

Checks whether a specific tag is standard or not.

Properties

allowSelfClosingTags
bool allowSelfClosingTags [@property getter]

Gets a boolean determining whether the parser allwos self-closing tags or not.

strictParsing
bool strictParsing [@property getter]

Gets a boolean determining whether the parser is strict or not.

Meta