Fix newlines in OStatus and RSS serializations (#10183)
parent
1ca322f241
commit
46f837a107
|
@ -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…
Reference in New Issue