aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cgi/html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cgi/html.rb')
-rw-r--r--lib/cgi/html.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cgi/html.rb b/lib/cgi/html.rb
index 9b9db93bae..b81ee787e8 100644
--- a/lib/cgi/html.rb
+++ b/lib/cgi/html.rb
@@ -845,6 +845,7 @@ class CGI
# Initialise the HTML generation methods for this version.
def element_init
extend TagMaker
+ return if defined?(html)
methods = ""
# - -
for element in %w[ A TT I B U STRIKE BIG SMALL SUB SUP EM STRONG
@@ -895,6 +896,7 @@ class CGI
# Initialise the HTML generation methods for this version.
def element_init
extend TagMaker
+ return if defined?(html)
methods = ""
# - -
for element in %w[ TT I B BIG SMALL EM STRONG DFN CODE SAMP KBD
@@ -944,6 +946,7 @@ class CGI
# Initialise the HTML generation methods for this version.
def element_init
extend TagMaker
+ return if defined?(html)
methods = ""
# - -
for element in %w[ TT I B U S STRIKE BIG SMALL EM STRONG DFN
@@ -994,6 +997,7 @@ class CGI
# Initialise the HTML generation methods for this version.
def element_init
+ return if defined?(frameset)
methods = ""
# - -
for element in %w[ FRAMESET ]