summaryrefslogtreecommitdiffstats
path: root/app/views/roles
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-10-25 13:28:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-10-25 13:28:36 +0000
commit821f9eb390aa9a4be9909c8a276626eb6188fcdf (patch)
tree6b2019c500d1fb61c7c0eacda1d8e059f2676620 /app/views/roles
parenta3fcdfe3915173f28ea6001f1d250b9319b48ba1 (diff)
downloadredmine-821f9eb390aa9a4be9909c8a276626eb6188fcdf.tar.gz
redmine-821f9eb390aa9a4be9909c8a276626eb6188fcdf.zip
HTML escaping (#4106).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2979 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles')
-rw-r--r--app/views/roles/edit.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/roles/edit.rhtml b/app/views/roles/edit.rhtml
index df3a4f320..61fcc633a 100644
--- a/app/views/roles/edit.rhtml
+++ b/app/views/roles/edit.rhtml
@@ -1,4 +1,4 @@
-<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%= @role.name %></h2>
+<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%=h @role.name %></h2>
<% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>