Class: Markaby::XmlTagset

Inherits:
Tagset
  • Object
show all
Defined in:
lib/markaby/tags.rb

Direct Known Subclasses

XHTMLFrameset, XHTMLStrict, XHTMLTransitional

Class Method Summary collapse

Class Method Details

.default_optionsObject


46
47
48
49
50
51
52
53
54
55
56
# File 'lib/markaby/tags.rb', line 46

def default_options
  super.merge({
    :output_xml_instruction => true,
    :output_meta_tag        => 'xhtml',
    :root_attributes        => {
      :xmlns      => 'http://www.w3.org/1999/xhtml',
      :'xml:lang' => 'en',
      :lang       => 'en'
    }
  })
end