HtmlSanitizer by Michael Ganss

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

 PostProcessNodeEventArgs

Provides data for the PostProcessNode event.
public IHtmlDocument Document { get; set; }

Gets or sets the document.

public INode Node { get; set; }

Gets or sets the DOM node to be processed.

public IList<INode> ReplacementNodes { get; }

Gets the replacement nodes. Leave empty if no replacement should occur.

Initializes a new instance of the PostProcessNodeEventArgs class.