Module: Oga::XML

Defined in:
lib/oga/xml/text.rb,
lib/oga/xml/node.rb,
lib/oga/xml/lexer.rb,
lib/oga/xml/cdata.rb,
lib/oga/xml/element.rb,
lib/oga/xml/doctype.rb,
lib/oga/xml/comment.rb,
lib/oga/xml/querying.rb,
lib/oga/xml/document.rb,
lib/oga/xml/node_set.rb,
lib/oga/xml/entities.rb,
lib/oga/xml/attribute.rb,
lib/oga/xml/namespace.rb,
lib/oga/xml/traversal.rb,
lib/oga/xml/sax_parser.rb,
lib/oga/xml/pull_parser.rb,
lib/oga/xml/character_node.rb,
lib/oga/xml/xml_declaration.rb,
lib/oga/xml/html_void_elements.rb,
lib/oga/xml/processing_instruction.rb

Defined Under Namespace

Modules: Entities, Querying, Traversal Classes: Attribute, Cdata, CharacterNode, Comment, Doctype, Document, Element, Lexer, Namespace, Node, NodeSet, ProcessingInstruction, PullParser, SaxParser, Text, XmlDeclaration

Constant Summary collapse

HTML_VOID_ELEMENTS =

Names of the HTML void elements that should be handled when HTML lexing is enabled.

Returns:

  • (Set)
Set.new([
  'area',
  'base',
  'br',
  'col',
  'command',
  'embed',
  'hr',
  'img',
  'input',
  'keygen',
  'link',
  'meta',
  'param',
  'source',
  'track',
  'wbr'
])