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:
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 9f8c5082c26..281bd783c93 100644
--- a/app/helpers/safe_format_helper.rb
+++ b/app/helpers/safe_format_helper.rb
@@ -3,8 +3,8 @@
module SafeFormatHelper
# Returns a HTML-safe String.
#
- # @param [String] format is escaped via `html_escape_once`
- # @param [Array<Hash>] args are escaped via `html_escape` if they are not marked as HTML-safe
+ # @param [String] format is escaped via `ERB::Util.html_escape_once`
+ # @param [Array<Hash>] args are escaped via `ERB::Util.html_escape` if they are not marked as HTML-safe
#
# @example
# safe_format('See %{user_input}', user_input: '<b>bold</b>')