Class: Fortitude::Doctypes::Html4
- Inherits:
-
Base
- Object
- Base
- Fortitude::Doctypes::Html4
show all
- Defined in:
- lib/fortitude/doctypes/html4.rb
Instance Attribute Summary
Attributes inherited from Base
#name
Instance Method Summary
collapse
Methods inherited from Base
#declare!, delegate_tag_stores, #initialize, #tags, #to_s
#delegate_tag_stores, #modify_tag, #tag, #tag_names, #tags, #tags_added!, #tags_changed!
Instance Method Details
#allows_bare_attributes? ⇒ Boolean
16
17
18
|
# File 'lib/fortitude/doctypes/html4.rb', line 16
def allows_bare_attributes?
true
end
|
20
21
22
|
# File 'lib/fortitude/doctypes/html4.rb', line 20
def close_void_tags_must_be
false
end
|
#default_javascript_tag_attributes ⇒ Object
8
9
10
|
# File 'lib/fortitude/doctypes/html4.rb', line 8
def default_javascript_tag_attributes
{ :type => 'text/javascript'.freeze }.freeze
end
|
#needs_cdata_in_javascript_tag? ⇒ Boolean
12
13
14
|
# File 'lib/fortitude/doctypes/html4.rb', line 12
def needs_cdata_in_javascript_tag?
false
end
|