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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-05 15:10:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-05 15:10:06 +0300
commitc8d44b1e3bd9dd04e5a3724fafd702932d1752be (patch)
treedc69c26c21d9f08e16c89af6e487e1106bda2ba7 /app/helpers/safe_format_helper.rb
parentae566b89cc7aa7f45ade0f91603b9f7d80c49528 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/safe_format_helper.rb')
-rw-r--r--app/helpers/safe_format_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/safe_format_helper.rb b/app/helpers/safe_format_helper.rb
index 71bfc9ecb40..9f8c5082c26 100644
--- a/app/helpers/safe_format_helper.rb
+++ b/app/helpers/safe_format_helper.rb
@@ -25,8 +25,8 @@ module SafeFormatHelper
# Use `Kernel.format` to avoid conflicts with ViewComponent's `format`.
Kernel.format(
- html_escape_once(format),
- args.transform_values { |value| html_escape(value) }
+ ERB::Util.html_escape_once(format),
+ args.transform_values { |value| ERB::Util.html_escape(value) }
).html_safe
end