lib/onebox/engine/amazon_onebox.rb in onebox-1.5.63 vs lib/onebox/engine/amazon_onebox.rb in onebox-1.5.64
- old
+ new
@@ -48,10 +48,10 @@
end
end
def data
result = { link: link,
- title: raw.css("title").inner_text,
+ title: CGI.unescapeHTML(raw.css("title").inner_text),
image: image }
result[:by_info] = raw.at("#by-line")
result[:by_info] = Onebox::Helpers.clean(result[:by_info].inner_html) if result[:by_info]