Class: Markaby::HTML5

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

Constant Summary collapse

AttrsHTML5 =
[:contenteditable, :contextmentu, :draggable, :dropzone,
:hidden, :role, :spellcheck, :translate]

Class Method Summary collapse

Class Method Details

.default_optionsObject



221
222
223
224
225
226
227
# File 'lib/markaby/tags.rb', line 221

def default_options
  super.merge({
    :output_xml_instruction => false,
    :output_meta_tag        => 'html5',
    :root_attributes        => {}
  })
end