Skip to content

Commit 52e958f

Browse files
authored
Explicitly require the CGI gem
This prevents uninitialized constant errors for environments where there isn't another gem already requiring CGI
1 parent 0bc1734 commit 52e958f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'cgi'
2+
13
module Handlebars
24
module Escapers
35
class HTMLEscaper
@@ -6,4 +8,4 @@ def self.escape(value)
68
end
79
end
810
end
9-
end
11+
end

0 commit comments

Comments
 (0)