Skip to content

Commit

Permalink
fix: html_safe for mobile and desktop items
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdeus committed Nov 26, 2024
1 parent c65fe7b commit 1f3a870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 = translated_attribute(item[:label]) %>
<% item_label = decidim_escape_translated(item[:label]).html_safe %>
<span>/</span>
<% if item[:dropdown_cell].present? %>
<div class="relative">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="menu-bar__breadcrumb-mobile__dropdown-trigger">
<span>
<% breadcrumb_items.last(2).each_with_index do |item, i| %>
<% item_label = translated_attribute(item[:label]) %>
<% item_label = decidim_escape_translated(item[:label]).html_safe %>
<% if i.positive? %>
<span>/</span>
<% end %>
Expand Down

0 comments on commit 1f3a870

Please sign in to comment.