diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-11-30 11:42:52 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-11-30 11:42:52 +0000 |
| commit | 6dd60db56f7113d79443df933cd92c7f7570d751 (patch) | |
| tree | 0426a431e8d68f294c9b4fd792ef461b8338bc85 /lib/html | |
| parent | c7f99e70cc743702bc27df8efa3a99838e99522a (diff) | |
Add input to list of void elements
Diffstat (limited to 'lib/html')
| -rw-r--r-- | lib/html/ast.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/html/ast.js b/lib/html/ast.js index 4b9290d..df55e63 100644 --- a/lib/html/ast.js +++ b/lib/html/ast.js @@ -40,7 +40,8 @@ exports.forceWrite = forceWrite; var voidTagNames = { "br": true, "hr": true, - "img": true + "img": true, + "input": true }; function isVoidElement(node) { |
