chore(rubocop): fix Rails/ContentTag
This commit is contained in:
parent
57e0466780
commit
3317f19323
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ module Redcarpet
|
|||
include ApplicationHelper
|
||||
|
||||
# won't use rubocop tag method because it is missing output buffer
|
||||
# rubocop:disable Rails/ContentTag
|
||||
def list(content, list_type)
|
||||
tag = list_type == :ordered ? :ol : :ul
|
||||
content_tag(tag, content, { class: @options[:class_names_map].fetch(:list) {} }, false)
|
||||
|
@ -32,7 +31,5 @@ module Redcarpet
|
|||
link
|
||||
end
|
||||
end
|
||||
|
||||
# rubocop:enable Rails/ContentTag
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue