HtmlSanitizer by Michael Ganss

<PackageReference Include="HtmlSanitizer" Version="6.0.423-beta" />

 PostProcessNodeEventArgs

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

Gets or sets the document.

public INode Node { get; }

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.