Commit 13239c9a14e32ced6c5a46649dd63338cef6373b

Authored by Leandro Santos
1 parent 9e51355e

should not escape admin notification

plugins/admin_notifications/views/shared/show_notification.html.erb
... ... @@ -22,7 +22,7 @@
22 22 <% @notifications.each do |notification| %>
23 23 <div class="<%= notification.type.gsub("AdminNotificationsPlugin::", "").downcase %> notification" data-notification="<%=notification.id%>" notification-display-popup="<%=notification.display_popup?%>">
24 24 <div class="notification-message">
25   - <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user) %>
  25 + <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user).html_safe %>
26 26 </div>
27 27 <% if logged_in? %>
28 28 <div class="notification-close" title="<%= _('Do not show anymore') %>"></div>
... ...