refactor: no need for html_safe

This commit is contained in:
simon lehericey 2024-11-22 16:24:54 +01:00
parent 451c0165b4
commit 016e9357e1
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -25,7 +25,7 @@
required: true,
data: { action: "email-france-connect#triggerEmailField", email_france_connect_target: "useFranceConnectEmail" }
%label.fr-label.fr-text--wrap{ for: 'use_france_connect_email_yes' }
= t('.keep_fc_email_html', email: h(@fci.email_france_connect)).html_safe
= t('.keep_fc_email_html', email: h(@fci.email_france_connect))
.fr-fieldset__element
.fr-radio-group