From 33d6f9e7a1cb3adfde0b9ef266b222fdbc1ce50e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 29 Jul 2012 10:15:20 +0000 Subject: [PATCH] Label should be escaped. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10111 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 7710f435f..b41faedbc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -305,7 +305,7 @@ module ApplicationHelper def principals_options_for_select(collection, selected=nil) s = '' if collection.include?(User.current) - s << content_tag('option', "<< #{l(:label_me)} >>".html_safe, :value => User.current.id) + s << content_tag('option', "<< #{l(:label_me)} >>", :value => User.current.id) end groups = '' collection.sort.each do |element| -- 2.39.5