From f4531b6fa70f856badbacc5c76e75da6cd4b67d5 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:55:03 +0100 Subject: [PATCH] Revert "Sanitise without needing html safe" This reverts commit 9ff2c270 --- app/helpers/title_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/helpers/title_helper.rb b/app/helpers/title_helper.rb index a3512e554..25dcbc30c 100644 --- a/app/helpers/title_helper.rb +++ b/app/helpers/title_helper.rb @@ -4,7 +4,6 @@ module TitleHelper end def format_title(searched, page_title, current_user, item_label, count, organisation_name) - organisation_name = sanitise_characters(organisation_name) if searched.present? actual_title = support_sab_nav?(current_user, organisation_name) ? organisation_name : page_title "#{actual_title} (#{count} #{item_label} matching ‘#{searched}’)"