lib/onebox/engine/youtube_onebox.rb in onebox-1.6.1 vs lib/onebox/engine/youtube_onebox.rb in onebox-1.6.2

- old
+ new

@@ -41,10 +41,9 @@ HTML else # for channel pages html = Onebox::Engine::WhitelistedGenericOnebox.new(@url, @cache, @timeout).to_html return if Onebox::Helpers.blank?(html) - html.gsub!("http:", "https:") html.gsub!(/['"]\/\//, "https://") html end end