Fix rubocop
This commit is contained in:
parent
f18fa97f0c
commit
13ea2d270d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue