diff --git a/app/views/profiles/show.html.erb b/app/views/profiles/show.html.erb
index 651d883774a..9fa0e892d4e 100644
--- a/app/views/profiles/show.html.erb
+++ b/app/views/profiles/show.html.erb
@@ -102,7 +102,7 @@
h(prepend_https(@user.homepage_url)),
rel: "nofollow",
class: "profile__header__attribute t-link--black",
- data: { confirm: "You are about to be redirected #{{h(prepend_https(user.homepage_url))}}" }
+ data: { confirm: "You are about to be redirected #{h(prepend_https(@user.homepage_url))} " }
)
%>