]> git.openstreetmap.org Git - rails.git/commitdiff
Remove debugging code
authorTom Hughes <tom@compton.nu>
Tue, 15 Nov 2011 09:58:30 +0000 (09:58 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 15 Nov 2011 09:58:30 +0000 (09:58 +0000)
app/helpers/application_helper.rb

index c4395317e06b2738fd8aedfaa937b5ae5d0c7fdf..b256dac4c8fca11a91a95c16658138b5bb20fa55 100644 (file)
@@ -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)