summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/to_label.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/to_label.rb')
-rw-r--r--lib/rdoc/markup/to_label.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rdoc/markup/to_label.rb b/lib/rdoc/markup/to_label.rb
index 3d95ccc2e2..cf808364e9 100644
--- a/lib/rdoc/markup/to_label.rb
+++ b/lib/rdoc/markup/to_label.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
-require 'cgi'
+require 'cgi/util'
##
# Creates HTML-safe labels suitable for use in id attributes. Tidylinks are
@@ -72,4 +72,3 @@ class RDoc::Markup::ToLabel < RDoc::Markup::Formatter
alias start_accepting ignore
end
-