From 75f12f5b18d6965f767b5a4d5195c35901ed5c68 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 15 Nov 2011 09:58:30 +0000 Subject: [PATCH] Remove debugging code --- app/helpers/application_helper.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c4395317e..b256dac4c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -6,15 +6,7 @@ module ApplicationHelper end def htmlize(text) - logger.info "text safety is #{text.html_safe?}" - r = simple_format(text) - logger.info "formatted text safety is #{r.html_safe?}" - r = sanitize(r) - logger.info "sanitised text safety is #{r.html_safe?}" - r = linkify(r) - logger.info "linkified text safety is #{r.html_safe?}" - return r -# return linkify(sanitize(simple_format(text))) + return linkify(sanitize(simple_format(text))) end def linkify(text) -- 2.39.5