AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.1.0-alpha-375" />

 HtmlTokenizerOptions

public struct HtmlTokenizerOptions
Represents a set of options for the HTML tokenizer.
public bool DisableElementPositionTracking { get; set; }

Prevents the tokenizer from tracking the position of elements.

public bool IsNotConsumingCharacterReferences { get; set; }

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.

public bool IsPreservingAttributeNames { get; set; }

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.

public bool IsStrictMode { get; set; }

Gets or sets if errors should be treated as exceptions.

public bool IsSupportingProcessingInstructions { get; set; }

Gets or sets if XML processing instructions should be parsed into DOM nodes.

Gets or set the delegate which determines if an attribute should be emitted.

public bool SkipCDATA { get; set; }

Should the tokenizer skip CDATA text tokens.

public bool SkipComments { get; set; }

Should the tokenizer skip comment tokens.

public bool SkipDataText { get; set; }

Should the tokenizer skip data text tokens.

public bool SkipPlaintext { get; set; }

Should the tokenizer skip plaintext tokens.

public bool SkipProcessingInstructions { get; set; }

Should the tokenizer skip processing instruction tokens.

public bool SkipRawText { get; set; }

Should the tokenizer skip raw text tokens.

public bool SkipRCDataText { get; set; }

Should the tokenizer skip RCDATA text tokens.

public bool SkipScriptText { get; set; }

Should the tokenizer skip script text tokens.

public HtmlTokenizerOptions(HtmlParserOptions htmlParserOptions)

Creates a new tokenizer options instance from the HtmlParserOptions instance.