]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Localisation updates from translatewiki.net (2009-11-22)
[rails.git] / app / helpers / application_helper.rb
index ab0ba82a830f0440dee2273edb2bf2bf9f34febc..e10650ada1fa3cde95956725f5e679f146446156 100644 (file)
@@ -1,6 +1,6 @@
 module ApplicationHelper
   def htmlize(text)
-    return sanitize(auto_link(simple_format(text), :urls))
+    return auto_link(sanitize(simple_format(text)), :link => :urls, :html => { :rel => "nofollow" })
   end
 
   def html_escape_unicode(text)