diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-30 08:35:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-30 08:35:43 +0000 |
commit | c3be706ce572f7a7e1c5f47b62215a1aeb66ee2c (patch) | |
tree | 1f0df81a92c6c9393e2e1ca8f036b11f62ff352f /app/views/roles/index.html.erb | |
parent | 12785890180a9ee3e3cc88223615ccff2d966c42 (diff) | |
download | redmine-c3be706ce572f7a7e1c5f47b62215a1aeb66ee2c.tar.gz redmine-c3be706ce572f7a7e1c5f47b62215a1aeb66ee2c.zip |
Additional escaping.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6327 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles/index.html.erb')
-rw-r--r-- | app/views/roles/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/roles/index.html.erb b/app/views/roles/index.html.erb index 41878146b..73c7e0841 100644 --- a/app/views/roles/index.html.erb +++ b/app/views/roles/index.html.erb @@ -13,7 +13,7 @@ <tbody> <% for role in @roles %> <tr class="<%= cycle("odd", "even") %>"> - <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, :action => 'edit', :id => role)) %></td> + <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), :action => 'edit', :id => role)) %></td> <td align="center" style="width:15%;"> <% unless role.builtin? %> <%= reorder_links('role', {:action => 'edit', :id => role}) %> |