summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/erb/util.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/erb/util.rb b/lib/erb/util.rb
index 9c3d186ede..adeb695aa8 100644
--- a/lib/erb/util.rb
+++ b/lib/erb/util.rb
@@ -2,8 +2,8 @@
# Load CGI.escapeHTML and CGI.escapeURIComponent.
# CRuby:
-# cgi.gem v0.1.0+ (Ruby 2.7-3.4) and Ruby 3.5+ stdlib have 'cgi/escape' and CGI.escapeHTML.
-# cgi.gem v0.3.3+ (Ruby 3.2-3.4) and Ruby 3.5+ stdlib have CGI.escapeURIComponent.
+# cgi.gem v0.1.0+ (Ruby 2.7-3.4) and Ruby 4.0+ stdlib have 'cgi/escape' and CGI.escapeHTML.
+# cgi.gem v0.3.3+ (Ruby 3.2-3.4) and Ruby 4.0+ stdlib have CGI.escapeURIComponent.
# JRuby: cgi.gem has a Java extension 'cgi/escape'.
# TruffleRuby: lib/truffle/cgi/escape.rb requires 'cgi/util'.
require 'cgi/escape'