diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 10:15:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 10:15:20 +0000 |
commit | 33d6f9e7a1cb3adfde0b9ef266b222fdbc1ce50e (patch) | |
tree | 44c10dbe96035b70cae7e6c40071aa4b6b6c51fa | |
parent | c6106543e1c54f7a776a77140717ef6fbd924233 (diff) | |
download | redmine-33d6f9e7a1cb3adfde0b9ef266b222fdbc1ce50e.tar.gz redmine-33d6f9e7a1cb3adfde0b9ef266b222fdbc1ce50e.zip |
Label should be escaped.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10111 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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| |