summaryrefslogtreecommitdiffstats
path: root/app/views/account
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-12 19:08:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-12 19:08:04 +0000
commit09a613b03598c7b6ccafa65a2597bcba1f95a262 (patch)
treeedb7f3994cbeae3360da93d4810a84b2bb21d699 /app/views/account
parent5ab33bca8e36c5097a2f9f3ddeb7ed8e4912c289 (diff)
downloadredmine-09a613b03598c7b6ccafa65a2597bcba1f95a262.tar.gz
redmine-09a613b03598c7b6ccafa65a2597bcba1f95a262.zip
Escape custom field name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2737 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account')
-rw-r--r--app/views/account/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml
index 70ca30961..410ea6ee4 100644
--- a/app/views/account/show.rhtml
+++ b/app/views/account/show.rhtml
@@ -11,7 +11,7 @@
<% end %>
<% for custom_value in @custom_values %>
<% if !custom_value.value.empty? %>
- <li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
+ <li><%=h custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
<% end %>
<% end %>
<li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>