Renders the HTML content safely, as allowed.
$value: The content to be filtered.
The filtered content.
function aggregator_filter_xss($value) {
return filter_xss($value, preg_split('/\\s+|<|>/', config('aggregator.settings')
->get('items.allowed_html'), -1, PREG_SPLIT_NO_EMPTY));
}