Case #2908: Escape user name in user not found error

This commit is contained in:
Tom Hughes 2010-04-22 00:43:31 +01:00
parent 0191549033
commit 3008963a4b

View file

@ -1,2 +1,2 @@
<h2><%= t 'user.no_such_user.heading', :user => @not_found_user %></h2>
<p><%= t 'user.no_such_user.body', :user => @not_found_user %></p>
<h2><%= t 'user.no_such_user.heading', :user => h(@not_found_user) %></h2>
<p><%= t 'user.no_such_user.body', :user => h(@not_found_user) %></p>