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:
parent
d806495f66
commit
23fb7e812e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue