HtmlComplianceOptionsDefault Field

The default compliance options.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static readonly HtmlComplianceOptions Default

Field Value

HtmlComplianceOptions

Remarks

An HtmlTokenizer or HtmlToHtml converter starts out with a copy of these options. Changing them therefore affects every tokenizer and converter that is created afterward, which makes this a convenient place to apply application-wide configuration at startup.

  Note

These options are not thread-safe. They should be configured once, before any tokenizer or converter is created, and not changed afterward.

See Also