You are here

function webform_filter_xss in Webform 7.4

Filter labels for display by running through XSS checks.

26 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_element in ./webform.module
Replacement for theme_form_element().
theme_webform_grid in components/grid.inc
Theme function to render a grid component.
webform_components_form_validate in includes/webform.components.inc
Validate handler for webform_components_form().

... See full list

File

./webform.module, line 4207
This module provides a simple way to create forms and questionnaires.

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);
}