@s-ludwig right.

Although I think "html" case will need additional test
```d
if (ln.length > 0) goto case default;
else isHTML5 = true;
```

Jade has few predefined shortcuts but it also allows to specify whatever you want in doctype, for example this is valid:
```
doctype html moofoo
```
But I guess it isn't html5 anymore :ghost: