diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb index 8577e78301a..6dd6cc5fd9c 100644 --- a/app/services/process_mentions_service.rb +++ b/app/services/process_mentions_service.rb @@ -25,7 +25,7 @@ class ProcessMentionsService < BaseService private def scan_text! - @status.text = @status.text.gsub(/http[^\s]+/,"") + @status.text = @status.text.gsub(/http[^\s]+/, '') @status.text = @status.text.gsub(Account::MENTION_RE) do |match| username, domain = Regexp.last_match(1).split('@')