lib/onebox/engine/audioboom_onebox.rb in onebox-1.6.2 vs lib/onebox/engine/audioboom_onebox.rb in onebox-1.6.3
- old
+ new
@@ -11,10 +11,10 @@
oembed = get_oembed
# we want the image to have the same dimensions as the embedded html
<<-HTML
- <img src="#{oembed[:thumbnail_url]}" style="max-width: #{oembed[:width]}px; max-height: #{oembed[:height]}px;">
+ <img src="#{oembed[:thumbnail_url]}" style="max-width: #{oembed[:width]}px; max-height: #{oembed[:height]}px;" #{Helpers.title_attr(oembed)}>
HTML
end
def to_html
oembed = get_oembed