X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/416e4c91c8cf91d85ab57b4a1141fb85d840752d..3377879d396a8c0e9df87cb438e7aaf2d90e991b:/app/helpers/application_helper.rb diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 34f9a893c..8073c2583 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -10,7 +10,7 @@ module ApplicationHelper end def linkify(text) - return auto_link(text, :link => :urls, :html => { :rel => "nofollow" }) + return Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow")) end def html_escape_unicode(text)