_field_filter_xss_allowed_tags

  1. drupal
    1. 8
    2. 7
Versions
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.

Code

modules/field/field.module, line 793

<?php
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');
}
?>