Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-08-03 12:50:47 +0300
committerRémy Coutable <remy@rymai.me>2018-08-03 14:27:14 +0300
commitc0c9e5dd6f2ff98240e6e4c3deba9cd2b1112b4d (patch)
treeae907b93ee85dc61e6f22f785ddb9a72b6f962c9 /app
parent9db5245153aaf41cfd0186db60e1fb9f4e0d530f (diff)
Ensure links in notifications footer are not escaped
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/notify.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index 31e02f1ee19..1c3e05e07f4 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -14,7 +14,7 @@
%br
- if @target_url
- if @reply_by_email
- = _('Reply to this email directly or %{view_it_on_gitlab}.') % { view_it_on_gitlab: link_to(_("view it on GitLab"), @target_url) }
+ = _('Reply to this email directly or %{view_it_on_gitlab}.').html_safe % { view_it_on_gitlab: link_to(_("view it on GitLab"), @target_url) }
- else
#{link_to _("View it on GitLab"), @target_url}.
%br