| Versionen | |
|---|---|
| drupal6 – drupal7 | aggregator_filter_xss($value) |
Safely render HTML content, as allowed.
$value The content to be filtered.
The filtered content.
modules/
<?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));
}
?>
Kommentare
Kommentar hinzufügen