Fix glitch-soc marking every link in toots as a tag

Fixes #1281
This commit is contained in:
Thibaut Girka
2020-03-22 16:59:29 +01:00
committed by ThibG
parent d101438b9d
commit 2c510ee00a
3 changed files with 16 additions and 3 deletions

View File

@ -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