HtmlParserSettings

Wrapper around html parser settings.

final
class HtmlParserSettings : DomParserSettings {}

Constructors

this
this()

Creates a new html parser settings:

Inherited Members

From DomParserSettings

strictParsing
bool strictParsing [@property getter]

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

allowSelfClosingTags
bool allowSelfClosingTags [@property getter]

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

isFlexibleTag
bool isFlexibleTag(string tagName)

Checks whether a specific tag is flexible 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.

isHeadTag
bool isHeadTag(string tagName)

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

isBodyTag
bool isBodyTag(string tagName)

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

Meta