Skip to content

Commit 68f924a

Browse files
ClearlyClairehiyuki2578
authored andcommitted
Fix newlines in OStatus and RSS serializations (mastodon#10183)
1 parent f3019b0 commit 68f924a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/lib/formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def format(status, **options)
2020
raw_content = status.text
2121

2222
if options[:inline_poll_options] && status.poll
23-
raw_content = raw_content + '\n\n' + status.poll.options.map { |title| "[ ] #{title}" }.join('\n')
23+
raw_content = raw_content + "\n\n" + status.poll.options.map { |title| "[ ] #{title}" }.join("\n")
2424
end
2525

2626
return '' if raw_content.blank?

0 commit comments

Comments
 (0)