]> source.dussan.org Git - redmine.git/commitdiff
Escape role name.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 12 May 2009 19:06:22 +0000 (19:06 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 12 May 2009 19:06:22 +0000 (19:06 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2735 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/show.rhtml

index 4e068a5d832fdc62132976c9788b165b98d7c4c9..c1f3f65752a8d906777ec44bf3e7d6cd8c0185eb 100644 (file)
@@ -39,7 +39,7 @@
        <div class="box">
                <h3 class="icon22 icon22-users"><%=l(:label_member_plural)%></h3>       
                <p><% @users_by_role.keys.sort.each do |role| %>
-               <%= role.name %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br />
+               <%=h role %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br />
                <% end %></p>
        </div>
        <% end %>