HtmlToHtmlComplianceLogger Property

Get or set the logger to use for reporting HTML compliance violations.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public IHtmlComplianceLogger? ComplianceLogger { get; set; }

Property Value

IHtmlComplianceLogger
The HTML compliance logger.

Remarks

Gets or sets the logger to use for reporting HTML compliance violations.

Violations are reported as they are encountered during Convert(TextReader, TextWriter) (see ComplianceLogger). When the value is (the default), no compliance checks are performed.

Character references are checked even though the converter does not decode them.

See Also