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:
parent
5031bab474
commit
9e29f9f1e6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue