html-validate 10.13.0 → 10.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.js +116 -5
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/elements.js +5 -1
- package/dist/cjs/elements.js.map +1 -1
- package/dist/esm/core.js +116 -5
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/elements.js +5 -1
- package/dist/esm/elements.js.map +1 -1
- package/dist/schema/elements.json +25 -1
- package/dist/types/browser.d.ts +43 -0
- package/dist/types/index.d.ts +43 -0
- package/package.json +1 -1
package/dist/cjs/elements.js
CHANGED
|
@@ -1110,7 +1110,7 @@ var html5 = {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
},
|
|
1112
1112
|
head: {
|
|
1113
|
-
implicitClosed: ["body"],
|
|
1113
|
+
implicitClosed: ["body", "@flow-not-meta"],
|
|
1114
1114
|
optionalEnd: true,
|
|
1115
1115
|
permittedContent: ["base?", "title?", "@meta"],
|
|
1116
1116
|
permittedParent: ["html"],
|
|
@@ -1180,6 +1180,10 @@ var html5 = {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
},
|
|
1182
1182
|
html: {
|
|
1183
|
+
implicitOpen: [
|
|
1184
|
+
{ for: ["@meta"], open: "head" },
|
|
1185
|
+
{ for: ["@flow-not-meta"], open: "body" }
|
|
1186
|
+
],
|
|
1183
1187
|
optionalEnd: true,
|
|
1184
1188
|
permittedContent: ["head?", "body?"],
|
|
1185
1189
|
permittedOrder: ["head", "body"],
|