Rails3: helper: html_safe for WatchersHelper

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8309 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-21 16:47:42 +00:00
parent 0d5df3a73e
commit ab1137159f
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ module WatchersHelper
:style => "vertical-align: middle",
:class => "delete")
end
"<li>#{ s }</li>"
content_tag :li, s.html_safe
end
lis.empty? ? "" : "<ul>#{ lis.join("\n") }</ul>"
(lis.empty? ? "" : "<ul>#{ lis.join("\n") }</ul>").html_safe
end
end