summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2019-05-30 18:30:43 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-05-30 18:30:43 +0000
commitc18136ae480121576b3b49c46078f46a1ceac9c9 (patch)
treecf31b3dba54aa025f16c324cf3bcc81cd3a96c58 /app
parent13cd5b598c3eba95e02ba33d80d4dc33ed59deb5 (diff)
parent51c35a4ab54e94239a623082d85378549739bea8 (diff)
downloadgitlab-ce-c18136ae480121576b3b49c46078f46a1ceac9c9.tar.gz
Merge branch '609120-ref-link' into 'master'
Fixes ref being displayed as raw HTML Closes #60912 See merge request gitlab-org/gitlab-ce!28823
Diffstat (limited to 'app')
-rw-r--r--app/presenters/ci/pipeline_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/ci/pipeline_presenter.rb b/app/presenters/ci/pipeline_presenter.rb
index 944895904fe..358473d0a74 100644
--- a/app/presenters/ci/pipeline_presenter.rb
+++ b/app/presenters/ci/pipeline_presenter.rb
@@ -43,7 +43,7 @@ module Ci
if pipeline.ref_exists?
_("for %{link_to_pipeline_ref}").html_safe % { link_to_pipeline_ref: link_to_pipeline_ref }
else
- _("for %{ref}") % { ref: content_tag(:span, pipeline.ref, class: 'ref-name') }
+ _("for %{ref}").html_safe % { ref: content_tag(:span, pipeline.ref, class: 'ref-name') }
end
end
end