From ab1137159fb948a58a3d948e64aa5689e0d4e723 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 21 Dec 2011 16:47:42 +0000 Subject: Rails3: helper: html_safe for WatchersHelper git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8309 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/watchers_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/helpers') diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb index f734fb8ed..74bb0e1ec 100644 --- a/app/helpers/watchers_helper.rb +++ b/app/helpers/watchers_helper.rb @@ -59,8 +59,8 @@ module WatchersHelper :style => "vertical-align: middle", :class => "delete") end - "
  • #{ s }
  • " + content_tag :li, s.html_safe end - lis.empty? ? "" : "" + (lis.empty? ? "" : "").html_safe end end -- cgit v1.2.3