diff --git a/app/views/schemes/show.html.erb b/app/views/schemes/show.html.erb index 6cefa5847..b4b0c99e6 100644 --- a/app/views/schemes/show.html.erb +++ b/app/views/schemes/show.html.erb @@ -1,4 +1,4 @@ -<% title = @scheme.service_name %> +<% title = sanitise_characters(@scheme.service_name) %> <% content_for :title, title %> <% if current_user.support? %> diff --git a/app/views/schemes/toggle_active.html.erb b/app/views/schemes/toggle_active.html.erb index 3e2f1d4a8..e605ff862 100644 --- a/app/views/schemes/toggle_active.html.erb +++ b/app/views/schemes/toggle_active.html.erb @@ -1,4 +1,4 @@ -<% title = "#{action.humanize} #{@scheme.service_name}" %> +<% title = "#{action.humanize} #{sanitise_characters(@scheme.service_name)}" %> <% content_for :title, title %> <% content_for :before_content do %>