diff options
-rw-r--r-- | twittperator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js index fe721b0..a5918ec 100644 --- a/twittperator.js +++ b/twittperator.js @@ -1911,7 +1911,7 @@ let PLUGIN_INFO = function rt(st) ("retweeted_status" in st ? st.retweeted_status : st); - function removeNewLine (text) + function removeNewLine(text) text.replace(/\r\n|[\r\n]/g, ' '); function completer(generator, nort) { |