Socialmetrica/Socialmetrica.package/Tweet.class/instance/textPreview.st

6 lines
192 B
Smalltalk

accessing
textPreview
"I'm a utility method to improve the way text is rendered accordin to if it comes from
Nitter or Twitter."
^ (XMLHTMLParser on: self text) parseDocument stringValue