Ver código fonte

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 6 anos atrás
pai
commit
20ab139ca7
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      src/compiler.js

+ 2
- 0
src/compiler.js Ver arquivo

@@ -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',

Carregando…
Cancelar
Salvar