Beispiel #1
0
 /// <summary>White lists the specified space seperated CSS class names.</summary>
 /// <param name="sanitizer">The sanitizer.</param>
 /// <param name="classNames">The class names.</param>
 /// <returns></returns>
 public static HtmlSanitizer AllowCss(this HtmlSanitizer sanitizer, string classNames)
 {
     return(sanitizer.AllowCss(classNames.Split(' ')));
 }