You are here

function _content_filter_xss_allowed_tags in Content Construction Kit (CCK) 5

Same name and namespace in other branches
  1. 6.3 content.module \_content_filter_xss_allowed_tags()
  2. 6.2 content.module \_content_filter_xss_allowed_tags()

List of tags allowed by content_filter_xss().

2 calls to _content_filter_xss_allowed_tags()
content_filter_xss in ./content.module
Like filter_xss_admin(), but with a shorter list of allowed tags.
_content_filter_xss_display_allowed_tags in ./content.module
Human-readable list of allowed tags, for display in help texts.

File

./content.module, line 982
Allows administrators to associate custom fields to content types.

Code

function _content_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',
  );
}