diff --git a/plugins/twitter.py b/plugins/twitter.py index 49e7c76..a5a53bc 100644 --- a/plugins/twitter.py +++ b/plugins/twitter.py @@ -71,7 +71,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"]