function aggregator_filter_xss

aggregator_filter_xss($value)

Renders the HTML content safely, as allowed.

Parameters

$value: The content to be filtered.

Return value

The filtered content.

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!aggregator!aggregator.module/function/aggregator_filter_xss/7.x