Skip to content

Commit

Permalink
change decidim_html_escape method to return an html escaped and safe
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdeus committed Nov 26, 2024
1 parent 87bd217 commit 4118060
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% breadcrumb_items.each_with_index do |item, i| %>
<% next if item.blank? %>

<% item_label = decidim_escape_translated(item[:label]).html_safe %>
<% item_label = decidim_escape_translated(item[:label]) %>
<span>/</span>
<% if item[:dropdown_cell].present? %>
<div class="relative">
Expand Down

0 comments on commit 4118060

Please sign in to comment.