Browse Source

Fix newlines in OStatus and RSS serializations (#10183)

pull/4/head
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
efd0fb8088
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/lib/formatter.rb

+ 1
- 1
app/lib/formatter.rb View File

@ -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?

Loading…
Cancel
Save