Fix brakeman test

This commit is contained in:
Xavier J 2016-09-16 16:29:34 +02:00
parent ccd9c0898d
commit 9332c0f6ed
2 changed files with 3 additions and 2 deletions

View file

@ -21,4 +21,5 @@
- unless @facade.procedure.lien_site_web.blank?
.center
=link_to 'En savoir plus ...', @facade.procedure.lien_site_web, {target: '_blank'}
%a{href: "#{@facade.procedure.lien_site_web.html_safe}", target: '_blank'}
En savoir plus ...

View file

@ -1 +1 @@
<%= (MailTemplate.replace_tags @dossier.procedure.mail_received.body, @dossier).html_safe %>
<%= escape_once (MailTemplate.replace_tags @dossier.procedure.mail_received.body, @dossier).html_safe %>