]> source.dussan.org Git - redmine.git/commitdiff
Rails3: helper: html_safe for robot_exclusion_tag
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 28 Nov 2011 12:20:37 +0000 (12:20 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 28 Nov 2011 12:20:37 +0000 (12:20 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7967 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 45ce61175e3306a1958783046127e7449bd61c68..a5ac9511cf542c69924db669fdc7e1c57e60b63a 100644 (file)
@@ -1023,7 +1023,7 @@ module ApplicationHelper
   end
 
   def robot_exclusion_tag
-    '<meta name="robots" content="noindex,follow,noarchive" />'
+    '<meta name="robots" content="noindex,follow,noarchive" />'.html_safe
   end
 
   # Returns true if arg is expected in the API response