...Because HtmlSanitizer is based on a robust HTML parser it can also shield you from deliberate or accidental "tag poisoning" where invalid HTML in one fragment can corrupt the whole document leading to broken layout or style. In order to facilitate different use cases, HtmlSanitizer can be customized at several levels. Configure allowed HTML tags through the property AllowedTags. All other tags will be stripped. Configure allowed HTML attributes through the property AllowedAttributes. All other attributes will be stripped. Configure allowed CSS property names through the property AllowedCssProperties. ...