X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6bfa897cfc38bcf8cb7c6a8649101ea699ea5c5a..a7df5b42410910743e86e28ad7458f05fc6e3924:/app/helpers/application_helper.rb diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9d2ae0071..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, :href_options => { :rel => "nofollow" })) + return auto_link(sanitize(simple_format(text)), :link => :urls, :html => { :rel => "nofollow" }) end def html_escape_unicode(text)