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
|
include ApplicationHelper
|
||||||
|
|
||||||
# won't use rubocop tag method because it is missing output buffer
|
# won't use rubocop tag method because it is missing output buffer
|
||||||
# rubocop:disable Rails/ContentTag
|
|
||||||
def list(content, list_type)
|
def list(content, list_type)
|
||||||
tag = list_type == :ordered ? :ol : :ul
|
tag = list_type == :ordered ? :ol : :ul
|
||||||
content_tag(tag, content, { class: @options[:class_names_map].fetch(:list) {} }, false)
|
content_tag(tag, content, { class: @options[:class_names_map].fetch(:list) {} }, false)
|
||||||
|
@ -32,7 +31,5 @@ module Redcarpet
|
||||||
link
|
link
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# rubocop:enable Rails/ContentTag
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue