This website works better with JavaScript.
Home
Explore
Help
Sign In
aeris
/
cross-post
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
4
Wiki
Activity
Browse Source
Preserve whitespace
tags/v0.2.0
aeris
3 years ago
parent
40ed5f4414
commit
d51c885fec
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/cross-post/twitter.rb
+ 1
- 1
lib/cross-post/twitter.rb
View File
@@ -51,7 +51,7 @@ class CrossPost
def split(text)
parts = []
part = ''
words = text.split
' '
words = text.split
/\ /
words.each do |word|
old_part = part
part += ' ' unless part == ''
Write
Preview
Loading…
Cancel
Save