Skip to content

Commit

Permalink
Merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
zz9pzza committed Aug 30, 2016
2 parents 58d604c + effad43 commit c987f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/initializers/gem-plugin_config/sanitizer_config.rb
Expand Up @@ -92,6 +92,8 @@ module Transformers
then "ning"
when /^dailymotion\.com\//
then "dailymotion"
when /^viddertube\.com\//
then "viddertube"
when /^metacafe\.com\//
then "metacafe"
when /^vidders\.net\//
Expand Down
4 changes: 2 additions & 2 deletions spec/lib/html_cleaner_spec.rb
Expand Up @@ -205,8 +205,8 @@
expect(result.to_s.squish).to eq('<p></p><div dir="rtl"> <p>This is RTL content</p> </div>')
end

%w{youtube.com youtube-nocookie.com vimeo.com player.vimeo.com blip.tv static.ning.com ning.com dailymotion.com
viddler.com metacafe.com vidders.net criticalcommons.org google.com archiveofourown.org podfic.com archive.org
%w{youtube.com youtube-nocookie.com vimeo.com player.vimeo.com static.ning.com ning.com dailymotion.com
metacafe.com criticalcommons.org google.com archiveofourown.org podfic.com archive.org
embed.spotify.com spotify.com 8tracks.com w.soundcloud.com soundcloud.com viddertube.com}.each do |source|

it "should allow embeds from #{source}" do
Expand Down

0 comments on commit c987f22

Please sign in to comment.