The HtmlWashSettings type exposes the following members.

Properties

  NameDescription
AllowedClassRegex
Regular expression to remove all Classes that match
AllowedStyles
Allowed keys in Style attributes
ClassMapping
Map one class to another
CleanStyles
Is styles should be cleaned through allowed styles
DeleteBlocks
Delete all blocks, for example script
DeleteTagAttributes
Delete all tags with the a specific attribtue critera
DeleteTags
Delete tags but leave the inner content
NodeMappings
Map node to other nodes
RemoveComments
Remove all comments
RemoveFontTags
Remove all font tags but leave inner content
RemoveUnknownNamespaces
Remove uknown namespaces, for example added by Office applications

See Also