AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

 MinifyMarkupFormatter

Represents the an HTML5 markup formatter with a normalization scheme.
public IEnumerable<string> PreservedTags { get; set; }

Gets or sets the tags that should have preserved white-space.

public bool ShouldKeepAttributeQuotes { get; set; }

Gets or sets if quotes of an attribute should be kept despite not needing them.

public bool ShouldKeepComments { get; set; }

Gets or sets if comments should be preserved.

public bool ShouldKeepEmptyAttributes { get; set; }

Gets or sets if empty (zero-length) attributes should be kept.

public bool ShouldKeepImpliedEndTag { get; set; }

Gets or sets if implied end tags (e.g., "/li") should be preserved.

public bool ShouldKeepStandardElements { get; set; }

Gets or sets if the automatically inserted standard elements (html, head, body) should be kept despite adding no value.