function _field_filter_xss_allowed_tags

7.x field.module _field_filter_xss_allowed_tags()

List of tags allowed by field_filter_xss().

Related topics

2 calls to _field_filter_xss_allowed_tags()
field_filter_xss in drupal-7.x/modules/field/field.module
Like filter_xss_admin(), but with a shorter list of allowed tags.
_field_filter_xss_display_allowed_tags in drupal-7.x/modules/field/field.module
Human-readable list of allowed tags, for display in help texts.

File

drupal-7.x/modules/field/field.module, line 759
Attach custom data fields to Drupal entities.

Code

function _field_filter_xss_allowed_tags() {
  return array('a', 'b', 'big', 'code', 'del', 'em', 'i', 'ins', 'pre', 'q', 'small', 'span', 'strong', 'sub', 'sup', 'tt', 'ol', 'ul', 'li', 'p', 'br', 'img');
}