From efd0fb80880171b1f027b6d0dbd8ace999857062 Mon Sep 17 00:00:00 2001 From: ThibG Date: Tue, 5 Mar 2019 23:58:58 +0100 Subject: [PATCH] Fix newlines in OStatus and RSS serializations (#10183) --- app/lib/formatter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?