lib/onebox/engine/facebook_media_onebox.rb in onebox-1.9.30 vs lib/onebox/engine/facebook_media_onebox.rb in onebox-2.0.0

- old
+ new

@@ -20,10 +20,10 @@ frameborder="0" allowfullscreen> </iframe> HTML else - html = Onebox::Engine::WhitelistedGenericOnebox.new(@url, @timeout).to_html + html = Onebox::Engine::AllowlistedGenericOnebox.new(@url, @timeout).to_html return if Onebox::Helpers.blank?(html) html end end end