X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6bfa897cfc38bcf8cb7c6a8649101ea699ea5c5a..f4ed1440622ada02a2e432f011cab6e37f885264:/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)