Mercurial > rsstweet
view config/initializers/ext_twitter_tweet.rb @ 172:df4be896ab8b
Improved escaping and truncating
author | nanaya <me@nanaya.pro> |
---|---|
date | Wed, 08 Aug 2018 20:37:29 +0900 |
parents | |
children | d35dbc09bd83 |
line wrap: on
line source
class Twitter::Tweet def unescaped_text CGI.unescapeHTML attrs[:full_text].printable end memoize :unescaped_text end