]> git.openstreetmap.org Git - rails.git/blobdiff - lib/rich_text.rb
Filter out the communities before loading the translations
[rails.git] / lib / rich_text.rb
index 1de7b882b2ae0da6cf7aa6e22557d9b547ac3431..8950c68888bafd65f2f61355164838ef29d39508 100644 (file)
@@ -61,9 +61,9 @@ module RichText
 
     def linkify(text, mode = :urls)
       if text.html_safe?
-        Rinku.auto_link(text, mode, tag_builder.tag_options(:rel => "nofollow noopener noreferer")).html_safe
+        Rinku.auto_link(text, mode, tag_builder.tag_options(:rel => "nofollow noopener noreferrer")).html_safe
       else
-        Rinku.auto_link(text, mode, tag_builder.tag_options(:rel => "nofollow noopener noreferer"))
+        Rinku.auto_link(text, mode, tag_builder.tag_options(:rel => "nofollow noopener noreferrer"))
       end
     end
   end