about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-03-06 00:03:46 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-06 00:03:46 +0100
commitf108c6a042503e0da7a29dc273340c6ce23e9f8f (patch)
tree5eddf53543d0e2e1a5fb7c4f441d8e223440f1f8 /app/lib
parentff827c1f38e91f2ef0ac3ee1c92f0f8a1a3cbdfa (diff)
parentefd0fb80880171b1f027b6d0dbd8ace999857062 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
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?