X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/634565c5d399b71192484ac10fc2f8f1570e95f3..17445a44da9aaeb24e136c5fc6fc3634e6f10539:/app/helpers/application_helper.rb?ds=sidebyside diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9d2ae0071..2eebec170 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 sanitize(auto_link(simple_format(text), :link => :urls, :html => { :rel => "nofollow" })) end def html_escape_unicode(text)