HtmlParserOptions
Contains a number of options for the HTML parser.
Prevents the tokenizer from tracking the position of elements.
Gets or sets if custom elements can be used everywhere. Otherwise,
custom elements can only be used in locations specified by the
official W3C spec (e.g., in the body).
Gets or sets if the document is embedded.
Gets or sets if references to the original source document
should be kept on the elements in form of their tokens.
Gets or sets if the parsing of character references should
be avoided.
Note: With this option there is no way to determine from
AngleSharp what character references have been fully valid
vs. invalid.
Gets or sets if frames should not be supported. Once
set this will ignore frame elements and respect
noframes elements.
Gets or sets if attribute names should not be normalized.
Usually, attribute names will be only seen lower-cased. When this
option is activated, the names will be taken as-is.
Gets or sets if scripting is allowed.
Gets or sets if errors should be treated as exceptions.
Gets or sets if XML processing instructions should be
parsed into DOM nodes.
Gets or sets the callback once a new element was created.
Gets or set the delegate which determines if an attribute should be emitted.
Should the tokenizer skip CDATA text tokens.
Should the tokenizer skip comment tokens.
Should the tokenizer skip data text tokens.
Should the tokenizer skip plaintext tokens.
Should the tokenizer skip processing instruction tokens.
Should the tokenizer skip raw text tokens.
Should the tokenizer skip RCDATA text tokens.
Should the tokenizer skip script text tokens.