Provides helper to filter for cross-site scripting. Hierarchy class \Drupal\Component\Utility\
protected static Xss::attributes($attributes) Processes
The default list of HTML tags allowed by filter(). Type:
The list of HTML tags allowed by filterAdmin(). Type:
public static Xss::getHtmlTagList() Gets the standard
protected static Xss::needsRemoval($html_tags, $elem) Whether
public static Xss::filter($string, array $html_tags = NULL) Filters
public static Xss::getAdminTagList() Gets the list
public static Xss::filterAdmin($string) Applies a
protected static Xss::split($string, $html_tags, $class) Processes