X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/45ec042c90d00f8e7b116fa2630af5722111fb2b..18a5f648901e952a5017e9322457c8fa40205f75:/app/helpers/application_helper.rb 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)