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
Remove whitespace because Sanitize create \n for <p>
tags/v0.2.0
aeris
3 years ago
parent
d51c885fec
commit
011d0c16b8
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
@@ -30,7 +30,7 @@ class CrossPost
end
def post_status(status)
content = Sanitize.clean
status.content
content = Sanitize.clean
(status.content).strip
content = CGI.unescape_html content
media = status.media_attachments.collect { |f| open f.url }
Write
Preview
Loading…
Cancel
Save