function aggregator_filter_xss

cis7 aggregator.module aggregator_filter_xss($value)
cle7 aggregator.module aggregator_filter_xss($value)
elmsmedia7 aggregator.module aggregator_filter_xss($value)
icor7 aggregator.module aggregator_filter_xss($value)
meedjum_blog7 aggregator.module aggregator_filter_xss($value)
mooc7 aggregator.module aggregator_filter_xss($value)

Renders the HTML content safely, as allowed.

Parameters

$value: The content to be filtered.

Return value

The filtered content.

3 calls to aggregator_filter_xss()
template_preprocess_aggregator_feed_source in modules/aggregator/aggregator.pages.inc
Processes variables for aggregator-feed-source.tpl.php.
template_preprocess_aggregator_item in modules/aggregator/aggregator.pages.inc
Processes variables for aggregator-item.tpl.php.
views_handler_field_aggregator_xss::render in sites/all/modules/ulmus/views/modules/aggregator/views_handler_field_aggregator_xss.inc
Render the field.

File

modules/aggregator/aggregator.module, line 734
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function aggregator_filter_xss($value) {
  return filter_xss($value, preg_split('/\s+|<|>/', variable_get('aggregator_allowed_html_tags', '<a> <b> <br> <dd> <dl> <dt> <em> <i> <li> <ol> <p> <strong> <u> <ul>'), -1, PREG_SPLIT_NO_EMPTY));
}