lib/onebox/engine/youtube_onebox.rb in onebox-1.8.76 vs lib/onebox/engine/youtube_onebox.rb in onebox-1.8.77
- old
+ new
@@ -48,10 +48,10 @@
end
end
def video_title
@video_title ||= begin
- Sanitize.fragment(Onebox::Helpers.truncate(video_oembed_data[:title].strip, 80))
+ Onebox::Helpers.truncate(video_oembed_data[:title], 80)
rescue
nil
end
end