From: Tom Hughes Date: Tue, 15 Nov 2011 09:58:30 +0000 (+0000) Subject: Remove debugging code X-Git-Tag: live~6564 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/75f12f5b18d6965f767b5a4d5195c35901ed5c68?hp=45ec042c90d00f8e7b116fa2630af5722111fb2b Remove debugging code --- 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)