]> source.dussan.org Git - redmine.git/commitdiff
Rails3: use String#html_safe for favicon in ApplicationHelper.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 05:05:26 +0000 (05:05 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 05:05:26 +0000 (05:05 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6466 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index b027f4ef000d9468b9f07ac83a83c4d728241c50..1b186367b0bf5017a227e63c7faf7c40398ec3d6 100644 (file)
@@ -923,7 +923,7 @@ module ApplicationHelper
   end
 
   def favicon
-    "<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />"
+    "<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />".html_safe
   end
 
   def robot_exclusion_tag