lib/onebox/engine/flickr_onebox.rb in onebox-1.7.3 vs lib/onebox/engine/flickr_onebox.rb in onebox-1.7.4

- old
+ new

@@ -7,10 +7,11 @@ matches_regexp(/^https?:\/\/www\.flickr\.com\/photos\//) always_https def to_html og = get_opengraph - "<img src='#{og[:image]}' width='#{og[:image_width]}' height='#{og[:image_height]}' #{Helpers.title_attr(og)}>" + escaped_src = ::Onebox::Helpers.normalize_url_for_output(og[:image]) + "<img src='#{escaped_src}' width='#{og[:image_width]}' height='#{og[:image_height]}' #{Helpers.title_attr(og)}>" end end end end