]> source.dussan.org Git - redmine.git/commitdiff
Strings as html safe.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 22 Nov 2011 20:57:20 +0000 (20:57 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 22 Nov 2011 20:57:20 +0000 (20:57 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7887 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index f4ebce99fcedb2084154f96cf9b1e0b059dcd584..764ef002edf060f9c99273fb01bdad43f3e6228a 100644 (file)
@@ -412,9 +412,9 @@ module ApplicationHelper
   end
 
   def other_formats_links(&block)
-    concat('<p class="other-formats">' + l(:label_export_to))
+    concat('<p class="other-formats">'.html_safe + l(:label_export_to))
     yield Redmine::Views::OtherFormatsBuilder.new(self)
-    concat('</p>')
+    concat('</p>'.html_safe)
   end
 
   def page_header_title