lib/onebox/engine/opengraph_image.rb in onebox-1.8.81 vs lib/onebox/engine/opengraph_image.rb in onebox-1.8.82

- old
+ new

@@ -1,12 +1,12 @@ -module Onebox - module Engine - module OpengraphImage - - def to_html - og = get_opengraph - "<img src='#{og.image}' width='#{og.image_width}' height='#{og.image_height}' class='onebox' #{og.title_attr}>" - end - - end - end -end +module Onebox + module Engine + module OpengraphImage + + def to_html + og = get_opengraph + "<img src='#{og.image}' width='#{og.image_width}' height='#{og.image_height}' class='onebox' #{og.title_attr}>" + end + + end + end +end