From 0c0bf29edbad41c581e81fd466a9b2a4a5c01cd5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 10:54:18 +0000 Subject: [PATCH] Rails3: use String#html_hours for principals_check_box_tags() at ApplicationHelper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6481 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 44c21e81b..0fc2e9f43 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -322,7 +322,7 @@ module ApplicationHelper end def html_hours(text) - text.gsub(%r{(\d+)\.(\d+)}, '\1.\2') + text.gsub(%r{(\d+)\.(\d+)}, '\1.\2').html_safe end def authoring(created, author, options={}) -- 2.39.5