mirror of https://github.com/sveltejs/svelte
Merge pull request #255 from msteitle/dontThrowParseErrorOnDoctypeDeclaration
Dont throw parse error on doctype declarationpull/265/head
commit
9a2b8275f8
@ -1 +1 @@
|
|||||||
export default /^(?:area|base|br|col|command|doctype|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;
|
export default /^(?:area|base|br|col|command|\!doctype|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
<!doctype html>
|
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"html": {
|
||||||
|
"start": 0,
|
||||||
|
"end": 15,
|
||||||
|
"type": "Fragment",
|
||||||
|
"children": [{
|
||||||
|
"attributes": [{
|
||||||
|
"end": 14,
|
||||||
|
"name": "html",
|
||||||
|
"start": 10,
|
||||||
|
"type": "Attribute",
|
||||||
|
"value": true
|
||||||
|
}],
|
||||||
|
"children": [],
|
||||||
|
"end": 15,
|
||||||
|
"name": "!doctype",
|
||||||
|
"start": 0,
|
||||||
|
"type": "Element"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"css": null,
|
||||||
|
"js": null
|
||||||
|
}
|
Loading…
Reference in new issue