summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wordpress-mobile-pack/inc/class-wmp-formatter.php')
-rwxr-xr-x[-rw-r--r--]plugins/wordpress-mobile-pack/inc/class-wmp-formatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wordpress-mobile-pack/inc/class-wmp-formatter.php b/plugins/wordpress-mobile-pack/inc/class-wmp-formatter.php
index 8d61267f..b1d12aa5 100644..100755
--- a/plugins/wordpress-mobile-pack/inc/class-wmp-formatter.php
+++ b/plugins/wordpress-mobile-pack/inc/class-wmp-formatter.php
@@ -36,7 +36,7 @@ if ( ! class_exists( 'WMobilePack_Formatter' ) ) {
$config->set('URI.AllowedSchemes', array('http' => true, 'https' => true, 'mailto' => true, 'news' => true, 'tel' => true, 'callto' => true, 'skype' => true, 'sms' => true, 'whatsapp' => true));
$config->set('HTML.SafeIframe', 1);
- $config->set('URI.SafeIframeRegexp', "%^(https?:)?(http?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player.vimeo.com|www\.dailymotion.com|w.soundcloud.com|fast.wistia.net|fast.wistia.com|wi.st|flickrit.com|www.spreaker.com|spreaker.com|instagram.com|www.instagram.com)%");
+ $config->set('URI.SafeIframeRegexp', "%^(https?:)?(http?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player.vimeo.com|www\.dailymotion.com|w.soundcloud.com|fast.wistia.net|fast.wistia.com|wi.st|flickrit.com|www.spreaker.com|spreaker.com|instagram.com|www.instagram.com|embed.spotify.com|play.spotify.com|spotify.com)%");
// extend purifier
$Html5Purifier = new WMPHtmlPurifier();