diff --git a/plugins/twitter.py b/plugins/twitter.py index b01699b..056c788 100644 --- a/plugins/twitter.py +++ b/plugins/twitter.py @@ -72,7 +72,7 @@ def twitter(inp, api_key=None): except IndexError: return 'error: not that many tweets found' - text = http.unescape(tweet["text"]) + text = http.unescape(tweet["text"]).replace('\n', ' ') screen_name = tweet["user"]["screen_name"] time = tweet["created_at"]