Skip to content
Snippets Groups Projects
Commit efd0fb80 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix newlines in OStatus and RSS serializations (#10183)

parent b5f119cf
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment