Class: Markaby::XmlTagset

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

Overview

Additional tags found in XHTML 1.0 Frameset

Direct Known Subclasses

XHTMLFrameset, XHTMLStrict, XHTMLTransitional

Class Method Summary collapse

Methods inherited from Tagset

can_handle?, handle_tag, transform_attribute_hash, transform_attribute_name, transform_attributes, valid_attribute_name?, validate_and_transform_attributes!, validate_and_transform_tag_name!, validate_attribute!

Class Method Details

.default_optionsObject



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/markaby/xml_tagset.rb', line 6

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