29 lines
450 B
Ruby
29 lines
450 B
Ruby
module Oga
|
|
module XML
|
|
##
|
|
# Names of the HTML void elements that should be handled when HTML lexing
|
|
# is enabled.
|
|
#
|
|
# @return [Set]
|
|
#
|
|
HTML_VOID_ELEMENTS = Set.new([
|
|
'area',
|
|
'base',
|
|
'br',
|
|
'col',
|
|
'command',
|
|
'embed',
|
|
'hr',
|
|
'img',
|
|
'input',
|
|
'keygen',
|
|
'link',
|
|
'meta',
|
|
'param',
|
|
'source',
|
|
'track',
|
|
'wbr'
|
|
])
|
|
end # XML
|
|
end # Oga
|