chore(rubocop): fix Rails/OutputSafety
This commit is contained in:
parent
3317f19323
commit
ca11ec8380
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ class TypesDeChamp::PrefillRepetitionTypeDeChamp < TypesDeChamp::PrefillTypeDeCh
|
|||
[
|
||||
I18n.t("views.prefill_descriptions.edit.possible_values.#{type_champ}_html"),
|
||||
subchamps_all_possible_values
|
||||
].join("</br>").html_safe # rubocop:disable Rails/OutputSafety
|
||||
].join("</br>").html_safe
|
||||
end
|
||||
|
||||
def example_value
|
||||
|
|
|
@ -83,6 +83,6 @@ class TypesDeChamp::PrefillTypeDeChamp < SimpleDelegator
|
|||
end
|
||||
|
||||
def description
|
||||
@description ||= I18n.t("views.prefill_descriptions.edit.possible_values.#{type_champ}_html", default: nil)&.html_safe # rubocop:disable Rails/OutputSafety
|
||||
@description ||= I18n.t("views.prefill_descriptions.edit.possible_values.#{type_champ}_html", default: nil)&.html_safe
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue