lib/onebox/engine/steam_store_onebox.rb in onebox-2.2.12 vs lib/onebox/engine/steam_store_onebox.rb in onebox-2.2.13
- old
+ new
@@ -26,14 +26,15 @@
def to_html
iframe_url = @url[/https?:\/\/store\.steampowered\.com\/app\/\d+/].gsub("/app/", "/widget/")
escaped_src = ::Onebox::Helpers.normalize_url_for_output(iframe_url)
<<-HTML
- <iframe src='#{escaped_src}'
- frameborder='0'
- width='100%'
- height='190'>
- </iframe>
+ <iframe
+ src='#{escaped_src}'
+ frameborder='0'
+ width='100%'
+ height='190'
+ ></iframe>
HTML
end
end
end
end