Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
Allow embedded iframes to go full screen
Browse files Browse the repository at this point in the history
  • Loading branch information
kxmbrian committed May 12, 2016
1 parent 8938623 commit f772f8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/modules/coursemology_formatter.rb
Expand Up @@ -21,7 +21,8 @@ def self.sanitize(text)
'col' => ['span', 'width'],
'colgroup' => ['span', 'width'],
'del' => ['cite', 'datetime'],
'iframe' => ['align', 'alt', 'frameborder', 'height', 'src', 'src2', 'width'],
'iframe' => ['align', 'alt', 'frameborder', 'height', 'src', 'src2', 'width',
'allowfullscreen', 'mozallowfullscreen', 'webkitallowfullscreen'],
'img' => ['align', 'alt', 'height', 'src', 'width'],
'ins' => ['cite', 'datetime'],
'ol' => ['start', 'reversed', 'type'],
Expand Down

0 comments on commit f772f8e

Please sign in to comment.