htmljs-parser 5.7.0 → 5.7.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/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1725,10 +1725,10 @@ var EXPRESSION = {
|
|
|
1725
1725
|
}
|
|
1726
1726
|
break;
|
|
1727
1727
|
case 61 /* EQUAL */:
|
|
1728
|
-
if (expression.operators
|
|
1728
|
+
if (expression.operators) {
|
|
1729
1729
|
if (this.lookAtCharCodeAhead(1) === 62 /* CLOSE_ANGLE_BRACKET */) {
|
|
1730
1730
|
this.pos++;
|
|
1731
|
-
} else if (!expression.forceType) {
|
|
1731
|
+
} else if (!(expression.forceType || expression.groupStack.length)) {
|
|
1732
1732
|
expression.inType = false;
|
|
1733
1733
|
}
|
|
1734
1734
|
this.pos++;
|
package/dist/index.mjs
CHANGED
|
@@ -1700,10 +1700,10 @@ var EXPRESSION = {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
break;
|
|
1702
1702
|
case 61 /* EQUAL */:
|
|
1703
|
-
if (expression.operators
|
|
1703
|
+
if (expression.operators) {
|
|
1704
1704
|
if (this.lookAtCharCodeAhead(1) === 62 /* CLOSE_ANGLE_BRACKET */) {
|
|
1705
1705
|
this.pos++;
|
|
1706
|
-
} else if (!expression.forceType) {
|
|
1706
|
+
} else if (!(expression.forceType || expression.groupStack.length)) {
|
|
1707
1707
|
expression.inType = false;
|
|
1708
1708
|
}
|
|
1709
1709
|
this.pos++;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "htmljs-parser",
|
|
3
3
|
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
|
|
4
|
-
"version": "5.7.
|
|
4
|
+
"version": "5.7.1",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@changesets/changelog-github": "^0.5.0",
|
|
7
7
|
"@changesets/cli": "^2.27.1",
|