htmljs-parser 5.7.2 → 5.7.3
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 +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1737,6 +1737,9 @@ var EXPRESSION = {
|
|
|
1737
1737
|
case 61 /* EQUAL */:
|
|
1738
1738
|
if (expression.operators) {
|
|
1739
1739
|
if (this.lookAtCharCodeAhead(1) === 62 /* CLOSE_ANGLE_BRACKET */) {
|
|
1740
|
+
if (expression.inType && !expression.forceType && this.getPreviousNonWhitespaceCharCode() !== 41 /* CLOSE_PAREN */) {
|
|
1741
|
+
expression.inType = false;
|
|
1742
|
+
}
|
|
1740
1743
|
this.pos++;
|
|
1741
1744
|
} else if (!(expression.forceType || expression.groupStack.length)) {
|
|
1742
1745
|
expression.inType = false;
|
package/dist/index.mjs
CHANGED
|
@@ -1712,6 +1712,9 @@ var EXPRESSION = {
|
|
|
1712
1712
|
case 61 /* EQUAL */:
|
|
1713
1713
|
if (expression.operators) {
|
|
1714
1714
|
if (this.lookAtCharCodeAhead(1) === 62 /* CLOSE_ANGLE_BRACKET */) {
|
|
1715
|
+
if (expression.inType && !expression.forceType && this.getPreviousNonWhitespaceCharCode() !== 41 /* CLOSE_PAREN */) {
|
|
1716
|
+
expression.inType = false;
|
|
1717
|
+
}
|
|
1715
1718
|
this.pos++;
|
|
1716
1719
|
} else if (!(expression.forceType || expression.groupStack.length)) {
|
|
1717
1720
|
expression.inType = false;
|
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.3",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@changesets/changelog-github": "^0.5.0",
|
|
7
7
|
"@changesets/cli": "^2.27.1",
|