X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/17445a44da9aaeb24e136c5fc6fc3634e6f10539..41dfa42edd18b40226b7e622d7f9ab563367f0ef:/app/helpers/application_helper.rb diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2eebec170..e10650ada 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,6 +1,6 @@ module ApplicationHelper def htmlize(text) - return sanitize(auto_link(simple_format(text), :link => :urls, :html => { :rel => "nofollow" })) + return auto_link(sanitize(simple_format(text)), :link => :urls, :html => { :rel => "nofollow" }) end def html_escape_unicode(text)