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

- old
+ new

@@ -43,10 +43,10 @@ <div class="description"><p>#{raw[:description]}</p></div> </article> </aside> 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