summaryrefslogtreecommitdiff
path: root/app/helpers/labels_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-26 14:39:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-26 14:39:01 +0000
commitf332982c82ad95ae2ee22242c39f78717613165f (patch)
tree25d49bea1c105fdd7cf62da42d2c91fd9146e9db /app/helpers/labels_helper.rb
parent25ed7b6ae4712518e96d4719b75dd293c57404a2 (diff)
downloadgitlab-ce-f332982c82ad95ae2ee22242c39f78717613165f.tar.gz
Add latest changes from gitlab-org/security/gitlab@15-3-stable-ee
Diffstat (limited to 'app/helpers/labels_helper.rb')
-rw-r--r--app/helpers/labels_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/labels_helper.rb b/app/helpers/labels_helper.rb
index 2d0bc1bc63f..e865db128c1 100644
--- a/app/helpers/labels_helper.rb
+++ b/app/helpers/labels_helper.rb
@@ -247,7 +247,7 @@ module LabelsHelper
class="#{css_class}"
data-container="body"
data-html="true"
- #{"style=\"background-color: #{bg_color}\"" if bg_color}
+ #{"style=\"background-color: #{h bg_color}\"" if bg_color}
>#{ERB::Util.html_escape_once(name)}#{suffix}</span>
HTML
end