From a7baa659921735045932db4e7d67d8932995135f Mon Sep 17 00:00:00 2001 From: moustachu Date: Sun, 22 Feb 2026 21:09:03 +0100 Subject: [PATCH 1/2] fix: Unescape HTML entities in component index checkbox tree (deface) --- .../_dropdown_label/unescape_check_box_label.html.erb.deface | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/overrides/decidim/shared/filters/_dropdown_label/unescape_check_box_label.html.erb.deface 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 From 1089ad937b56cacd761e3f8165c3f7b850ca8d97 Mon Sep 17 00:00:00 2001 From: moustachu Date: Tue, 24 Feb 2026 17:13:45 +0100 Subject: [PATCH 2/2] fix: system test --- spec/system/explore_projects_index_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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