summaryrefslogtreecommitdiffstats
path: root/dependencyinjection
diff options
context:
space:
mode:
Diffstat (limited to 'dependencyinjection')
-rw-r--r--dependencyinjection/dicontainer.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/dependencyinjection/dicontainer.php b/dependencyinjection/dicontainer.php
index b5a3b41b1..92cb0ffcb 100644
--- a/dependencyinjection/dicontainer.php
+++ b/dependencyinjection/dicontainer.php
@@ -98,12 +98,12 @@ class DIContainer extends BaseContainer {
$config = \HTMLPurifier_Config::createDefault();
$config->set('Cache.SerializerPath', $directory);
- $config->set('HTML.SafeIframe', true);
- $config->set('HTML.SafeObject', true);
- $config->set('HTML.SafeEmbed', true);
- $config->set('Output.FlashCompat', true);
- $config->set('URI.SafeIframeRegexp',
- '%^(http[s]?:)?//(www.youtube(?:-nocookie)?.com/embed/|player.vimeo.com/video/|w.soundcloud.com/player/)%'); //allow YouTube, Vimeo and Soundcloud iframes
+ $config->set('HTML.SafeIframe', true);
+ $config->set('HTML.SafeObject', true);
+ $config->set('HTML.SafeEmbed', true);
+ $config->set('Output.FlashCompat', true);
+ $config->set('URI.SafeIframeRegexp',
+ '%^(http[s]?:)?//(www.youtube(?:-nocookie)?.com/embed/|player.vimeo.com/video/|w.soundcloud.com/player/)%'); //allow YouTube, Vimeo and Soundcloud iframes
return new \HTMLPurifier($config);
});