From 13239c9a14e32ced6c5a46649dd63338cef6373b Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 13 May 2016 20:28:01 -0300 Subject: [PATCH] should not escape admin notification --- plugins/admin_notifications/views/shared/show_notification.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin_notifications/views/shared/show_notification.html.erb b/plugins/admin_notifications/views/shared/show_notification.html.erb index 9f74e76..c1e8c4c 100644 --- a/plugins/admin_notifications/views/shared/show_notification.html.erb +++ b/plugins/admin_notifications/views/shared/show_notification.html.erb @@ -22,7 +22,7 @@ <% @notifications.each do |notification| %>
notification" data-notification="<%=notification.id%>" notification-display-popup="<%=notification.display_popup?%>">
- <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user) %> + <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user).html_safe %>
<% if logged_in? %>
-- libgit2 0.21.2