app/views/decidim/meetings/meetings/_meeting_agenda.html.erb in decidim-meetings-0.28.4 vs app/views/decidim/meetings/meetings/_meeting_agenda.html.erb in decidim-meetings-0.29.0.rc1
- old
+ new
@@ -10,11 +10,11 @@
<h3 class="meeting__agenda-item__title">
<span><%= translated_attribute(agenda_item.title) %></span>
<span><%= display_duration_agenda_items(agenda_item.id, index, agenda_items_times) %></span>
</h3>
- <div class="meeting__agenda-item__description editor-content"><%= decidim_sanitize(translated_attribute(agenda_item.description)).html_safe %></div>
+ <div class="meeting__agenda-item__description editor-content"><%= decidim_sanitize_translated(agenda_item.description).html_safe %></div>
<% if agenda_item.agenda_item_children.presence %>
<% parent_start_time = agenda_items_times[index][:start_time] %>
<% agenda_item_children_times = calculate_start_and_end_time_of_agenda_items(agenda_item.agenda_item_children, meeting, parent_start_time) %>
@@ -22,10 +22,10 @@
<div class="meeting__agenda-subitem">
<h4 class="meeting__agenda-item__title">
<span><%= translated_attribute(agenda_item_child.title) %></span>
<span><%= display_duration_agenda_items(agenda_item_child.id, index_child, agenda_item_children_times) %></span>
</h4>
- <div class="meeting__agenda-item__description"><%= decidim_sanitize(translated_attribute(agenda_item_child.description)).html_safe %></div>
+ <div class="meeting__agenda-item__description"><%= decidim_sanitize_translated(agenda_item_child.description).html_safe %></div>
</div>
<% end %>
<% end %>
</div>
<% end %>