Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -6,7 +6,6 @@
|
|||
*/
|
||||
|
||||
use Drupal\aggregator\Entity\Feed;
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
|
@ -157,16 +156,15 @@ function aggregator_cron() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Renders the HTML content safely, as allowed.
|
||||
* Gets the list of allowed tags.
|
||||
*
|
||||
* @param string $value
|
||||
* The content to be filtered.
|
||||
* @return array
|
||||
* The list of allowed tags.
|
||||
*
|
||||
* @return string
|
||||
* The filtered content.
|
||||
* @internal
|
||||
*/
|
||||
function aggregator_filter_xss($value) {
|
||||
return SafeMarkup::xssFilter($value, preg_split('/\s+|<|>/', \Drupal::config('aggregator.settings')->get('items.allowed_html'), -1, PREG_SPLIT_NO_EMPTY));
|
||||
function _aggregator_allowed_tags() {
|
||||
return preg_split('/\s+|<|>/', \Drupal::config('aggregator.settings')->get('items.allowed_html'), -1, PREG_SPLIT_NO_EMPTY);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue