diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-05 15:10:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-05 15:10:06 +0300 |
commit | c8d44b1e3bd9dd04e5a3724fafd702932d1752be (patch) | |
tree | dc69c26c21d9f08e16c89af6e487e1106bda2ba7 /app/helpers/safe_format_helper.rb | |
parent | ae566b89cc7aa7f45ade0f91603b9f7d80c49528 (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.rb | 4 |
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 |