Skip to content

Commit

Permalink
document self closing tags list
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Oct 19, 2024
1 parent f070203 commit 090ed2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/wcc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { importAttributes } from 'acorn-import-attributes';
import { transform } from 'sucrase';
import fs from 'fs';

// https://developer.mozilla.org/en-US/docs/Glossary/Void_element
const VOID_ELEMENTS = [
'area',
'base',
Expand All @@ -21,11 +22,9 @@ const VOID_ELEMENTS = [
'hr',
'img',
'input',
'keygen',
'link',
'menuitem',
'meta',
'param',
'param', // deprecated
'source',
'track',
'wbr'
Expand Down

0 comments on commit 090ed2a

Please sign in to comment.