Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7547
e93f8b46-1217-0410-a6f0-
8f06a7374b81
unless properties.nil? || properties.empty?
content = ''
properties.keys.sort.each do |property|
- content << content_tag('li', "<b>#{h property}</b>: <span>#{h properties[property]}</span>")
+ content << content_tag('li', "<b>#{h property}</b>: <span>#{h properties[property]}</span>".html_safe)
end
- content_tag('ul', content, :class => 'properties')
+ content_tag('ul', content.html_safe, :class => 'properties')
end
end