Fix rubocop

This commit is contained in:
KMY 2023-07-14 12:44:50 +09:00
parent f18fa97f0c
commit 13ea2d270d

View file

@ -49,7 +49,7 @@ class GroupReblogService < BaseService
end
end
text = status.account.local? ? status.text : strip_tags(status.text.gsub(/<br>/, "\n").gsub(%r{<br />}, "\n").gsub(%r{</p>}, "\n\n").strip)
text = status.account.local? ? status.text : strip_tags(status.text.gsub('<br>', "\n").gsub(%r{<br />}, "\n").gsub(%r{</p>}, "\n\n").strip)
PostStatusService.new.call(
account,