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