From 09a613b03598c7b6ccafa65a2597bcba1f95a262 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <jp_lang@yahoo.fr>
Date: Tue, 12 May 2009 19:08:04 +0000
Subject: [PATCH] Escape custom field name.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2737 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 app/views/account/show.rhtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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>
-- 
GitLab