amelioration(a11y): utilise une balise <p> pour passer a la ligne avec un espace supplémentaire plutôt que deux <br>

This commit is contained in:
Martin 2023-07-07 09:53:31 +02:00
parent d806495f66
commit 23fb7e812e

View file

@ -81,7 +81,7 @@ class NotificationMailer < ApplicationMailer
end
def create_commentaire_for_notification
body = ["[#{@subject}]", @body].join("<br><br>")
body = ["<p>[#{@subject}]</p>", @body].join('')
CommentaireService.create!(CONTACT_EMAIL, @dossier, body: body)
end
end