Browse Source

Revert "Sanitise without needing html safe"

This reverts commit 9ff2c270
pull/2643/head
Manny Dinssa 2 years ago
parent
commit
f4531b6fa7
  1. 1
      app/helpers/title_helper.rb

1
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}’)"

Loading…
Cancel
Save