Merge pull request #8617 from mfo/US/fix-admin-links
correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration
This commit is contained in:
commit
624c95b264
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