lib/onebox/engine/giphy_onebox.rb in onebox-1.6.2 vs lib/onebox/engine/giphy_onebox.rb in onebox-1.6.3
- old
+ new
@@ -10,10 +10,10 @@
def to_html
oembed = get_oembed
<<-HTML
<a href="#{oembed[:url]}" target="_blank">
- <img src="#{oembed[:image]}" width="#{oembed[:width]}" height="#{oembed[:height]}">
+ <img src="#{oembed[:image]}" width="#{oembed[:width]}" height="#{oembed[:height]}" #{Helpers.title_attr(oembed)}>
</a>
HTML
end
end