Strings as html safe.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7887 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-22 20:57:20 +00:00
parent 9fa6b26350
commit 33f7f5a00d
1 changed files with 2 additions and 2 deletions

View File

@ -412,9 +412,9 @@ module ApplicationHelper
end end
def other_formats_links(&block) 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) yield Redmine::Views::OtherFormatsBuilder.new(self)
concat('</p>') concat('</p>'.html_safe)
end end
def page_header_title def page_header_title