diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-03-22 16:59:29 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-03-24 12:07:47 +0100 |
commit | 2c510ee00a9fb4141a428d9a21dbd561171b3409 (patch) | |
tree | b54c2d07b6ab38e827287865b93606daa5885d15 /app/lib/formatter.rb | |
parent | d101438b9d1bd827c191605cb21d58f83de2124d (diff) |
Fix glitch-soc marking every link in toots as a tag
Fixes #1281
Diffstat (limited to 'app/lib/formatter.rb')
-rw-r--r-- | app/lib/formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index fcc99d009..b7a0286d2 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -131,7 +131,7 @@ class Formatter end def link_url(url) - "<a href=\"#{encode(url)}\" target=\"blank\" rel=\"nofollow noopener\">#{link_html(url)}</a>" + "<a href=\"#{encode(url)}\" target=\"blank\" rel=\"nofollow noopener noreferrer\">#{link_html(url)}</a>" end private |