28 lines
316 B
JavaScript
28 lines
316 B
JavaScript
/**
|
|
* List of HTML void tag names.
|
|
*
|
|
* @type {Array<string>}
|
|
*/
|
|
export const htmlVoidElements = [
|
|
'area',
|
|
'base',
|
|
'basefont',
|
|
'bgsound',
|
|
'br',
|
|
'col',
|
|
'command',
|
|
'embed',
|
|
'frame',
|
|
'hr',
|
|
'image',
|
|
'img',
|
|
'input',
|
|
'keygen',
|
|
'link',
|
|
'meta',
|
|
'param',
|
|
'source',
|
|
'track',
|
|
'wbr'
|
|
]
|