Quellcode durchsuchen

Remove whitespace because Sanitize create \n for <p>

master
aeris vor 5 Jahren
Ursprung
Commit
011d0c16b8
  1. 2
      lib/cross-post/twitter.rb

2
lib/cross-post/twitter.rb

@ -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 }

Laden…
Abbrechen
Speichern