From f97322cd7269aa58b875b90305693cc8c3517e2e Mon Sep 17 00:00:00 2001
From: Mauricio Giacomini Girardello <mauriciogiacomini4@gmail.com>
Date: Wed, 30 Mar 2016 13:13:02 -0300
Subject: [PATCH] calling html_safe method in alerts and notices messages

---
 app/views/layouts/application.html.erb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 342b06bf4..284acc8ce 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -17,7 +17,7 @@
       <div class="alert alert-info" role="alert">
         <button type="button" class="close" data-dismiss="alert" aria-label="Fechar">
           <span aria-hidden="true">&times;</span></button>
-        <%= notice %>
+        <%= notice.html_safe %>
       </div>
   <% end %>
 
@@ -25,7 +25,7 @@
       <div class="alert alert-danger alert-dismissible" role="alert">
         <button type="button" class="close" data-dismiss="alert" aria-label="Fechar">
           <span aria-hidden="true">&times;</span></button>
-        <%= alert %>
+        <%= alert.html_safe %>
       </div>
   <% end %>
 
-- 
GitLab