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:
parent
0d5df3a73e
commit
ab1137159f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue