Rails3: use String#html_safe for parse_inline_attachments() at ApplicationHelper.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6485 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-20 11:14:58 +00:00
parent 5031bab474
commit 9e29f9f1e6
1 changed files with 2 additions and 2 deletions

View File

@ -535,9 +535,9 @@ module ApplicationHelper
if !desc.blank? && alttext.blank?
alt = " title=\"#{desc}\" alt=\"#{desc}\""
end
"src=\"#{image_url}\"#{alt}"
"src=\"#{image_url}\"#{alt}".html_safe
else
m
m.html_safe
end
end
end