Browse Source

Fix apostrophes and ampersands in scheme related pages

pull/2643/head
Manny Dinssa 2 years ago
parent
commit
6c40468243
  1. 2
      app/views/schemes/show.html.erb
  2. 2
      app/views/schemes/toggle_active.html.erb

2
app/views/schemes/show.html.erb

@ -1,4 +1,4 @@
<% title = @scheme.service_name %> <% title = sanitise_characters(@scheme.service_name) %>
<% content_for :title, title %> <% content_for :title, title %>
<% if current_user.support? %> <% if current_user.support? %>

2
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 :title, title %>
<% content_for :before_content do %> <% content_for :before_content do %>

Loading…
Cancel
Save