correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration
This commit is contained in:
parent
041d1c372f
commit
0a386994e5
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Dossiers::MessageComponent < ApplicationComponent
|
|||
t('.deleted_body')
|
||||
else
|
||||
body_formatted = commentaire.sent_by_system? ? commentaire.body : simple_format(commentaire.body)
|
||||
sanitize(body_formatted)
|
||||
sanitize(body_formatted, commentaire.sent_by_system? ? { scrubber: Sanitizers::MailScrubber.new } : {})
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue