diffbot appears to be formatting results properly now
This commit is contained in:
parent
efe1353b87
commit
24c92840c3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue