lib/onebox/engine/douban_onebox.rb in onebox-1.8.22 vs lib/onebox/engine/douban_onebox.rb in onebox-1.8.23
- old
+ new
@@ -10,10 +10,10 @@
private
def data
{
link: link,
- title: raw.css('title').text.gsub("\n",'').strip(),
+ title: raw.css('title').text.gsub("\n", '').strip(),
image: raw.css('img[rel*="v:"]').first['src'],
description: raw.css('meta[name=description]').first['content'],
}
end