HtmlSanitizerOptions
Provides options to be used with HtmlSanitizer.
Allow all custom CSS properties (variables) prefixed with --.
Allow all HTML5 data attributes; the attributes prefixed with data-.
Gets or sets the allowed CSS at-rules such as "@media" and "@font-face".
Gets or sets the allowed HTML attributes such as "href" and "alt".
Gets or sets the allowed CSS classes.
Gets or sets the allowed CSS properties such as "font" and "margin".
Gets or sets the allowed URI schemes such as "http" and "https".
Gets or sets the allowed tag names such as "a" and "div".
Gets or sets the HTML attributes that can contain a URI such as "href".
public HtmlSanitizerOptions()