Browse Source

Add doctype to list of self closing tags

I added upper and lowercase because that seemed
preferable to always casting every html function
name to lowercase.
master
Dylan Baker 5 years ago
parent
commit
20ab139ca7
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/compiler.js

+ 2
- 0
src/compiler.js View File

@@ -12,6 +12,8 @@ module.exports = class Compiler {
12 12
       'br',
13 13
       'col',
14 14
       'command',
15
+      '!doctype',
16
+      '!DOCTYPE',
15 17
       'embed',
16 18
       'hr',
17 19
       'img',

Loading…
Cancel
Save