diff --git a/app/views/dossiers/etapes/_etape1.html.haml b/app/views/dossiers/etapes/_etape1.html.haml index 8d5258d75..5d6391f8e 100644 --- a/app/views/dossiers/etapes/_etape1.html.haml +++ b/app/views/dossiers/etapes/_etape1.html.haml @@ -16,7 +16,7 @@ = @facade.procedure.libelle #description_procedure{ style: 'width: 95%;', class: (@facade.entreprise.nil? ? '' : 'mask') } - = h sanitize(@facade.procedure.description) + = h simple_format(@facade.procedure.description) - if @facade.procedure.lien_site_web.present? .center diff --git a/app/views/new_user/dossiers/identite.html.haml b/app/views/new_user/dossiers/identite.html.haml index a47f32a53..54fea25a4 100644 --- a/app/views/new_user/dossiers/identite.html.haml +++ b/app/views/new_user/dossiers/identite.html.haml @@ -9,7 +9,7 @@ %h2.procedure-title = @dossier.procedure.libelle .procedure-description - = h sanitize(@dossier.procedure.description) + = h simple_format(@dossier.procedure.description) .column = form_for @dossier.individual, url: update_identite_dossier_path(@dossier), html: { class: "form" } do |f| diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml index 171cd62ce..5a2e4a025 100644 --- a/app/views/users/sessions/new.html.haml +++ b/app/views/users/sessions/new.html.haml @@ -20,7 +20,7 @@ %h2.procedure-title = @dossier.procedure.libelle .procedure-description - = h sanitize(@dossier.procedure.description) + = h simple_format(@dossier.procedure.description) .column.auth-form = form_for @user, url: user_session_path, html: { class: "form" } do |f| diff --git a/app/views/users/siret/_pro.html.haml b/app/views/users/siret/_pro.html.haml index dd92bfd8e..f263f255a 100644 --- a/app/views/users/siret/_pro.html.haml +++ b/app/views/users/siret/_pro.html.haml @@ -6,7 +6,7 @@ = @procedure.libelle %div - = sanitize(@procedure.description) + = simple_format(@procedure.description) %br = form_tag(url_for({ controller: :dossiers, action: :create }), class: 'form-inline', method: 'POST') do |f|