DomParserSettings.this

Creates a new dom parser setting.

class DomParserSettings
protected @safe
this

Parameters

strictParsing bool

Boolean determining whether the parser is strict or not.

flexibleTags string[]

An array of tags that can has flexible content, such as the HTML <script> tag.

allowSelfClosingTags bool

Boolean determining whether the parser allows self-closing tags or not.

selfClosingTags string[]

An array of tags that can be self-closed.

standardTags string[]

An array of standard tags. These are only relevant if self-closing tags are allowed.

headRepairTags string[]

An array of tags that can be repaired within the head section.

bodyRepairTags string[]

An array of tags that can be repaired within the body section.

Meta