diff --git a/app/overrides/decidim/shared/filters/_dropdown_label/unescape_check_box_label.html.erb.deface b/app/overrides/decidim/shared/filters/_dropdown_label/unescape_check_box_label.html.erb.deface new file mode 100644 index 0000000000..e7a18b6b60 --- /dev/null +++ b/app/overrides/decidim/shared/filters/_dropdown_label/unescape_check_box_label.html.erb.deface @@ -0,0 +1 @@ +<%= filter_text_for(CGI.unescapeHTML(leaf.label), id: "dropdown-title-#{data_checkboxes_tree_id}") %> \ No newline at end of file diff --git a/spec/system/explore_projects_index_spec.rb b/spec/system/explore_projects_index_spec.rb index a466ccfc88..c151568bb7 100644 --- a/spec/system/explore_projects_index_spec.rb +++ b/spec/system/explore_projects_index_spec.rb @@ -98,7 +98,7 @@ visit_budget within "#panel-dropdown-menu-category" do - click_filter_item decidim_escape_translated(category.name) + click_filter_item translated(category.name) end within "#projects" do