aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/user
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user')
-rw-r--r--app/views/user/index.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/user/index.rhtml b/app/views/user/index.rhtml
index 77f443463..5e7b8a67e 100644
--- a/app/views/user/index.rhtml
+++ b/app/views/user/index.rhtml
@@ -1,4 +1,4 @@
-<% @title = @display_users[0].name %>
+<% @title = h(@display_users[0].name) %>
<% if (@display_users.size > 1) %>
<p>There is more than one user with this name.
@@ -11,7 +11,7 @@
<p>Freedom of Information requests made by this person:</p>
<ul>
<% for info_request in display_user.info_requests %>
- <li><%= link_to info_request.title, :controller => 'request', :action => 'index', :id => info_request %></td>
+ <li><%= link_to h(info_request.title), :controller => 'request', :action => 'index', :id => info_request %></td>
<% end %>
</ul>
<% end %>