html-validate 9.5.4 → 9.5.5

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.
@@ -405,7 +405,7 @@ var html5 = defineMetadata({
405
405
  return node.hasAttribute("href") ? "allowed" : "prohibited";
406
406
  }
407
407
  },
408
- requiredAncestors: ["map"]
408
+ requiredAncestors: ["map", "template"]
409
409
  },
410
410
  article: {
411
411
  flow: true,
@@ -739,7 +739,7 @@ var html5 = defineMetadata({
739
739
  dd: {
740
740
  implicitClosed: ["dd", "dt"],
741
741
  permittedContent: ["@flow"],
742
- requiredAncestors: ["dl > dd", "dl > div > dd"]
742
+ requiredAncestors: ["dl > dd", "dl > div > dd", "template > dd", "template > div > dd"]
743
743
  },
744
744
  del: {
745
745
  flow: true,
@@ -828,7 +828,7 @@ var html5 = defineMetadata({
828
828
  implicitClosed: ["dd", "dt"],
829
829
  permittedContent: ["@flow"],
830
830
  permittedDescendants: [{ exclude: ["header", "footer", "@sectioning", "@heading"] }],
831
- requiredAncestors: ["dl > dt", "dl > div > dt"]
831
+ requiredAncestors: ["dl > dt", "dl > div > dt", "template > dt", "template > div > dt"]
832
832
  },
833
833
  em: {
834
834
  flow: true,