diff options
author | Rémy Coutable <remy@rymai.me> | 2018-08-03 12:50:47 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-08-03 14:27:14 +0300 |
commit | c0c9e5dd6f2ff98240e6e4c3deba9cd2b1112b4d (patch) | |
tree | ae907b93ee85dc61e6f22f785ddb9a72b6f962c9 /app | |
parent | 9db5245153aaf41cfd0186db60e1fb9f4e0d530f (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.haml | 2 |
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 |