]> source.dussan.org Git - redmine.git/commitdiff
Label should be escaped.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jul 2012 10:15:20 +0000 (10:15 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jul 2012 10:15:20 +0000 (10:15 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10111 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 7710f435f5072f665ccb2b603e36d69e5909dd3c..b41faedbc83407057e1f5b28106d0cec06dc8817 100644 (file)
@@ -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|