From: Jean-Philippe Lang Date: Sun, 29 Jul 2012 10:15:20 +0000 (+0000) Subject: Label should be escaped. X-Git-Tag: 2.1.0~212 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=33d6f9e7a1cb3adfde0b9ef266b222fdbc1ce50e;p=redmine.git Label should be escaped. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10111 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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|