view config/initializers/ext_twitter_tweet.rb @ 173:aa78d1eeb6e5

Update rails and other gems
author nanaya <me@nanaya.pro>
date Wed, 08 Aug 2018 20:38:29 +0900
parents df4be896ab8b
children d35dbc09bd83
line wrap: on
line source

class Twitter::Tweet
  def unescaped_text
    CGI.unescapeHTML attrs[:full_text].printable
  end

  memoize :unescaped_text
end