You are here

function _webform_filter_xss in Webform 6.3

Same name and namespace in other branches
  1. 7.4 webform.module \_webform_filter_xss()
  2. 7.3 webform.module \_webform_filter_xss()

Filter labels for display by running through XSS checks.

22 calls to _webform_filter_xss()
theme_webform_display_grid in components/grid.inc
Format the text output for this component.
theme_webform_display_select in components/select.inc
Format the text output for this component.
theme_webform_grid in components/grid.inc
webform_components_form_validate in includes/webform.components.inc
Validate handler for webform_components_form().
webform_expand_select_ids in components/select.inc
FAPI process function to rename IDs attached to checkboxes and radios.

... See full list

File

./webform.module, line 2933

Code

function _webform_filter_xss($string) {
  static $allowed_tags;
  $allowed_tags = isset($allowed_tags) ? $allowed_tags : webform_variable_get('webform_allowed_tags');
  return filter_xss($string, $allowed_tags);
}