Skip to content

Commit a5ddf52

Browse files
update resource_text to safe_resource_text for event received template
1 parent 3fc204e commit a5ddf52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

decidim-core/app/views/decidim/batch_notifications_mailer/event_received.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
%>
2323

2424
<blockquote>
25-
<% if event_instance.try(:resource_text).present? %>
25+
<% if event_instance.try(:safe_resource_text).present? %>
2626
<p>
2727
<%= resource_icon event[:resource], class: "notification-icon icon icon--small" %>
28-
<%= event_instance.resource_text.html_safe %>
28+
<%= event_instance.safe_resource_text %>
2929
</p>
3030
<% end %>
3131

0 commit comments

Comments
 (0)