Skip navigation
Help

aggregator_filter_xss

6 aggregator.module aggregator_filter_xss($value)
7 aggregator.module aggregator_filter_xss($value)

Safely render HTML content, as allowed.

Parameters

$value: The content to be filtered.

Return value

The filtered content.

2 calls to aggregator_filter_xss()

File

drupal/modules/aggregator/aggregator.module, line 715
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));
}