about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-06 00:20:30 +0100
committerGitHub <noreply@github.com>2019-03-06 00:20:30 +0100
commitbd3567b3f8988998384f5031daa2fcfc06393853 (patch)
tree5eddf53543d0e2e1a5fb7c4f441d8e223440f1f8 /app/lib
parentff827c1f38e91f2ef0ac3ee1c92f0f8a1a3cbdfa (diff)
parentf108c6a042503e0da7a29dc273340c6ce23e9f8f (diff)
Merge pull request #938 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb
index b9845cb45..464e1ee7e 100644
--- a/app/lib/formatter.rb
+++ b/app/lib/formatter.rb
@@ -20,7 +20,7 @@ class Formatter
     raw_content = status.text
 
     if options[:inline_poll_options] && status.poll
-      raw_content = raw_content + '\n\n' + status.poll.options.map { |title| "[ ] #{title}" }.join('\n')
+      raw_content = raw_content + "\n\n" + status.poll.options.map { |title| "[ ] #{title}" }.join("\n")
     end
 
     return '' if raw_content.blank?