1. drupal
    1. 8
    2. 7
8 – 7 _field_filter_xss_allowed_tags()

List of tags allowed by field_filter_xss().

Related topics

▾ 2 functions call _field_filter_xss_allowed_tags()

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


modules/field/field.module, line 793

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