lib/onebox/engine/imgur_onebox.rb in onebox-1.8.76 vs lib/onebox/engine/imgur_onebox.rb in onebox-1.8.77
- old
+ new
@@ -29,10 +29,10 @@
end
def album_html(og)
escaped_url = ::Onebox::Helpers.normalize_url_for_output(url)
escaped_src = ::Onebox::Helpers.normalize_url_for_output(get_secure_link(og[:image]))
- album_title = "[Album] #{Onebox::Helpers.truncate(og[:title].strip, 80)}"
+ album_title = "[Album] #{Onebox::Helpers.truncate(og[:title], 80)}"
<<-HTML
<div class='onebox imgur-album'>
<a href='#{escaped_url}' target='_blank'>
<span class='outer-box' style='width:#{og[:image_width]}px'>