lib/onebox/engine/amazon_onebox.rb in onebox-1.8.18 vs lib/onebox/engine/amazon_onebox.rb in onebox-1.8.19
- old
+ new
@@ -71,10 +71,10 @@
else
raw.css("#priceblock_ourprice").inner_text
end
summary = raw.at("#productDescription")
- result[:description] = og[:description] || summary&.inner_text
+ result[:description] = og[:description] || summary.inner_text
result
end
end
end
end