html-validate 9.5.3 → 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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.3"
8
+ "packageVersion": "7.52.8"
9
9
  }
10
10
  ]
11
11
  }
package/dist/es/core.js CHANGED
@@ -6093,7 +6093,7 @@ class ElementPermittedContent extends Rule {
6093
6093
  return false;
6094
6094
  }
6095
6095
  validatePermittedDescendant(node, parent) {
6096
- for (let cur = parent; cur && !cur.isRootElement(); cur = /* istanbul ignore next */
6096
+ for (let cur = parent; cur && !cur.isRootElement() && cur.tagName !== "template"; cur = /* istanbul ignore next */
6097
6097
  cur.parent ?? null) {
6098
6098
  const meta = cur.meta;
6099
6099
  if (!meta) {
@@ -11720,7 +11720,7 @@ class EventHandler {
11720
11720
  }
11721
11721
 
11722
11722
  const name = "html-validate";
11723
- const version = "9.5.3";
11723
+ const version = "9.5.5";
11724
11724
  const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
11725
11725
 
11726
11726
  function freeze(src) {
@@ -13349,7 +13349,7 @@ function requireIgnore () {
13349
13349
  // - ..
13350
13350
  // Valid:
13351
13351
  // - .foo
13352
- const REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/;
13352
+ const REGEX_TEST_INVALID_PATH = /^\.{0,2}\/|^\.{1,2}$/;
13353
13353
 
13354
13354
  const REGEX_TEST_TRAILING_SLASH = /\/$/;
13355
13355