diff --git a/plugins/admin_notifications/views/admin_notifications_plugin_public/notifications_with_popup.html.erb b/plugins/admin_notifications/views/admin_notifications_plugin_public/notifications_with_popup.html.erb index f735e04..698b65e 100644 --- a/plugins/admin_notifications/views/admin_notifications_plugin_public/notifications_with_popup.html.erb +++ b/plugins/admin_notifications/views/admin_notifications_plugin_public/notifications_with_popup.html.erb @@ -9,12 +9,12 @@
- <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user) %> + <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user).html_safe %>
<% else %>
notification notification-without-title" data-notification="<%=notification.id%>">
- <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user) %> + <%= AdminNotificationsPlugin::NotificationHelper.substitute_variables(notification.message, current_user).html_safe %>
<% end %> diff --git a/plugins/admin_notifications/views/shared/_notifications_list.html.erb b/plugins/admin_notifications/views/shared/_notifications_list.html.erb index 6ee3c4c..aa92968 100644 --- a/plugins/admin_notifications/views/shared/_notifications_list.html.erb +++ b/plugins/admin_notifications/views/shared/_notifications_list.html.erb @@ -23,7 +23,7 @@ <% @notifications.each do |notification| %>
- <%= truncate(notification.message, length: 50) %> + <%= truncate(notification.message.html_safe, length: 50) %>
<% if notification.active? %> -- libgit2 0.21.2