lib/onebox/engine/sketchfab_onebox.rb in onebox-2.2.12 vs lib/onebox/engine/sketchfab_onebox.rb in onebox-2.2.13

- old
+ new

@@ -13,22 +13,22 @@ def to_html og = get_opengraph src = og.video_url.gsub("autostart=1", "") <<-HTML - <iframe src="#{src}" - width="#{og.video_width}" - height="#{og.video_height}" - scrolling="no" - frameborder="0" - allowfullscreen> - </iframe> + <iframe + src="#{src}" + width="#{og.video_width}" + height="#{og.video_height}" + scrolling="no" + frameborder="0" + allowfullscreen + ></iframe> HTML end def placeholder_html "<img src='#{get_opengraph.image}'>" end - end end end