Class HtmlSanitizerConfiguration
Represents html sanitizer configuration properties.
public sealed class HtmlSanitizerConfiguration
- Inheritance
-
objectHtmlSanitizerConfiguration
- Extension Methods
Constructors
HtmlSanitizerConfiguration()
public HtmlSanitizerConfiguration()
Properties
HtmlAllowedAttrs
The list of allowed html attributes.
public HashSet<string> HtmlAllowedAttrs { get; init; }
Property Value
- HashSet<string>
HtmlAllowedTags
The list of allowed html tags.
public HashSet<string> HtmlAllowedTags { get; init; }
Property Value
- HashSet<string>