diff options
author | ThibG <thib@sitedethib.com> | 2019-03-05 23:58:58 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-05 23:58:58 +0100 |
commit | efd0fb80880171b1f027b6d0dbd8ace999857062 (patch) | |
tree | 682e3f2bd1b9134e47fe0e6dda9dd4d43f6b2d92 /app/lib | |
parent | b5f119cfaf2f878dfc6d21c84a942e0f3d810f50 (diff) |
Fix newlines in OStatus and RSS serializations (#10183)
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/formatter.rb | 2 |
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? |