diffbot appears to be formatting results properly now

This commit is contained in:
joshua stein 2014-03-12 17:16:21 -05:00
parent efe1353b87
commit 24c92840c3

View file

@ -27,8 +27,7 @@ class StoryCacher
if res.present?
j = JSON.parse(res)
# turn newlines into double newlines, so they become paragraphs
return j["text"].gsub("\n", "\n\n")
return j["text"]
end
rescue => e