aggregator_filter_xss

Definition

aggregator_filter_xss($value)
modules/aggregator/aggregator.module, line 929

Description

Safely render HTML content, as allowed.

Parameters

$value The content to be filtered.

Return value

The filtered content.

Code

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.