Skip to content
Snippets Groups Projects
Unverified Commit 5addff2f authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4183 from JediKev/issue/fix-vimeo-iframes

format: Fix Vimeo iFrames
parents 6d53f495 cc06c052
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ class Format {
'hook_tag' => function($e, $a=0) { return Format::__html_cleanup($e, $a); },
'elements' => '*+iframe',
'spec' =>
'iframe=-*,height,width,type,style,src(match="`^(https?:)?//(www\.)?(youtube|dailymotion|vimeo)\.com/`i"),frameborder'.($options['spec'] ? '; '.$options['spec'] : ''),
'iframe=-*,height,width,type,style,src(match="`^(https?:)?//(www\.)?(youtube|dailymotion|vimeo|player.vimeo)\.com/`i"),frameborder'.($options['spec'] ? '; '.$options['spec'] : ''),
);
return Format::html($html, $config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment