lib/onebox/engine/twitter_status_onebox.rb in onebox-1.4.8 vs lib/onebox/engine/twitter_status_onebox.rb in onebox-1.4.9
- old
+ new
@@ -33,10 +33,10 @@
def tweet
if raw.html?
raw.css(".tweet-text")[0].inner_text
else
- access(:text)
+ client.prettify_tweet(raw)
end
end
def timestamp
if raw.html?