X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f9b0c2f6b187a1787e195cd0d768c5fca1cd839..b0288b83bb437bbfc0deb325cca142066dc9848b:/lib/rich_text.rb diff --git a/lib/rich_text.rb b/lib/rich_text.rb index 1de7b882b..8950c6888 100644 --- a/lib/rich_text.rb +++ b/lib/rich_text.rb @@ -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