@solidjs/html 2.0.0-rc.14 → 2.0.0-rc.16

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.
Files changed (2) hide show
  1. package/dist/html.js +1 -1
  2. package/package.json +2 -2
package/dist/html.js CHANGED
@@ -131,7 +131,7 @@ const tokenize = (strings, rawTextElements) => {
131
131
  const start = cursor;
132
132
  while (cursor < len && isIdentifierChar(str.charCodeAt(cursor))) cursor++;
133
133
  const value = str.slice(start, cursor);
134
- if (lastTagName === "") {
134
+ if (tokens[tokens.length - 1]?.type === OPEN_TAG_TOKEN) {
135
135
  lastTagName = value;
136
136
  }
137
137
  tokens.push({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solidjs/html",
3
3
  "description": "Tagged-template-literal templating for Solid — write components with no build step.",
4
- "version": "2.0.0-rc.14",
4
+ "version": "2.0.0-rc.16",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "homepage": "https://solidjs.com",
@@ -42,7 +42,7 @@
42
42
  "test": "vitest run"
43
43
  },
44
44
  "peerDependencies": {
45
- "@solidjs/web": "^2.0.0-rc.14"
45
+ "@solidjs/web": "^2.0.0-rc.16"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@solidjs/web": "workspace:*",