Commit 0b293b49 authored by tmaruyama's avatar tmaruyama

Rails3: helper: use html_safe at render_properties(properties) of RepositoriesHelper

Contributed by Sylvain Utard.

git-svn-id: https://svn.redmine.org/redmine/trunk@7547 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 67cb04a8
......@@ -37,9 +37,9 @@ module RepositoriesHelper
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment