HtmlSanitizer by Michael Ganss

<PackageReference Include="HtmlSanitizer" Version="7.1.512" />

 RemoveReason

public enum RemoveReason
List of reasons why something was identified to get removed from the HTML

The class attribute is empty

Attribute is not allowed

CSS Class is not allowed

Style is not allowed

Tag is not allowed

Value is a non-allowed or harmful url

Value is not allowed or harmful

The style attribute is empty