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/esm/elements.js
CHANGED
|
@@ -1108,7 +1108,7 @@ var html5 = {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
},
|
|
1110
1110
|
head: {
|
|
1111
|
-
implicitClosed: ["body"],
|
|
1111
|
+
implicitClosed: ["body", "@flow-not-meta"],
|
|
1112
1112
|
optionalEnd: true,
|
|
1113
1113
|
permittedContent: ["base?", "title?", "@meta"],
|
|
1114
1114
|
permittedParent: ["html"],
|
|
@@ -1178,6 +1178,10 @@ var html5 = {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
},
|
|
1180
1180
|
html: {
|
|
1181
|
+
implicitOpen: [
|
|
1182
|
+
{ for: ["@meta"], open: "head" },
|
|
1183
|
+
{ for: ["@flow-not-meta"], open: "body" }
|
|
1184
|
+
],
|
|
1181
1185
|
optionalEnd: true,
|
|
1182
1186
|
permittedContent: ["head?", "body?"],
|
|
1183
1187
|
permittedOrder: ["head", "body"],
|